Espruino/tests/test_array_access.js
2014-04-07 12:17:59 +01:00

5 lines
166 B
JavaScript

// https://github.com/espruino/Espruino/issues/290
var arr = ["a"];
result = ((arr[true] === undefined) === true) &&
((arr[false] === undefined) === true);