WRONG !
NEW RECORD !
NEW WORLD RECORD !
new game
sound off
JavaScript PlanetArray
PlanetArray is a multiple choice game where you apply JavaScript Methods to Arrays and Variables.
JavaScript is the language of the web.
Methods are ways to manipulate an Array
Arrays are rows of things
Variables are single things
New methods are unlocked as you progress, you start with just one.
congratulations, you've completed the early alpha !
before
after
shift removes and returns the far most left item (first item)
pop removes and returns the far most right item (last item)
unshift add new items to the left (beginning) and returns the length of the array
push adds new items to the right (end) and returns the length of the array
concat adds strings and arrays to the right (end)
Array.of makes an array out of strings or arrays
splice insert and/or remove items from point in array
slice returns a part of the array
a = arr.shift()
a = arr.pop()
size = arr.unshift( a , b , c )
size = arr.push( a , b , c )
a = arr.concat( arr2 , arr3 )
arr2 = arr.sort()
arr2 = arr.reverse()
arr2 = Array.of( arr , a , b )
arr2 = arr.splice( x , y , a , b , c )
arr2 = arr.slice( x , y )
arr.length = x
help
Your average is an unknown number of seconds per answer. Your best average time so far is 99999 seconds. The world record over the last 7 days is 9999 seconds.