fork download
  1. // Type of array is "object"
  2. a = ["Am i an array?"] ;
  3. print( typeof a );
  4.  
  5. // Deleting from an array leaves empty space
  6. a = [1, 2, 3];
  7. delete a[1];
  8. print( a );
Success #stdin #stdout 0.01s 4940KB
stdin
Standard input is empty
stdout
object
1,,3