Mond icon indicating copy to clipboard operation
Mond copied to clipboard

Error when indexing unknown values in arrays etc

Open Rohansi opened this issue 8 years ago • 0 comments

var arr = [];
printLn(arr.foo);

Should this evaluate to undefined or throw an exception? The same applies to other types.

It's a bit trickier for objects because it could be very breaking.

Rohansi avatar Aug 30 '17 17:08 Rohansi