Espruino/tests/test025.js
Gordon Williams f3d6e0bc83 First commit
2013-09-26 14:39:04 +01:00

8 lines
154 B
JavaScript

// Array length test
myArray = [ 1, 2, 3, 4, 5 ];
myArray2 = [ 1, 2, 3, 4, 5 ];
myArray2[8] = 42;
result = myArray.length == 5 && myArray2.length == 9;