sjbarag / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
113 stars 43 forks source link

You can add fields to node just by `[]`, which is prohibited in ROKU #642

Open Vasya-M opened 3 years ago

Vasya-M commented 3 years ago

see next snippet

node = createobject("rosgnode", "node")
node["slava Ukraini"] = "Heroyam Slava"
? node["slava Ukraini"] ' expected = invalid

but in brs interpreter it will return "Heroyam Slava"