Skip to content

Error when indexing unknown values in arrays etc #71

@Rohansi

Description

@Rohansi
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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions