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.
2 starting arrays :
before

 after
the goal :

Mission : Make a combined array.
One starting Array:
before

 after
The goal, one Variable and one Array:

Mission: Separate Mercury from the array.
before

 after

Mission: Separate Neptune from the array.
before

 after

Mission: Insert Mercury and Venus at the beginning of the array, and figure out the new length (8)
before

 after

Mission: Append Uranus and Neptune to the end of the array and figure out the new length (8)
before

 after

Mission: Unknown
before

 after

Mission: Unknown
before

 after

Mission: Unknown
before

 after

Mission: Unkown
before

 after

Mission: Unkown
before

 after

Mission: Unknown
before

 after

Mission: Insert Mercury at the beginning of the array.
before

 after

Mission: Replace Earth and Venus with Mars.
before

 after

Mission: Remove Uranus from Array.
before

 after

Mission: Remove Neptune from Array.
before

 after

Mission: Remove Mercury and Venus from Array.
before

 after

Mission: Remove all except Mercury, Venus and Earth.
before

 after

Mission: Unkown
before

 after

Mission: Unknown
before

 after

Mission: Unknown
before

 after

Mission: Unknown
before

 after


Mission: Unknown
congratulations, you've completed the early alpha !
before

 after
 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.