summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-09-13 21:38:25 +0200
committerJo-Philipp Wich <jo@mein.io>2020-09-13 21:38:25 +0200
commitf2c5937fdfe0331790fc4c7a64c9df0b8d56c705 (patch)
treea19bc2ff1469b4c0e11849d73dd9c8fdd621721e /tests
parentdd67e7b992ded6b02a1c476f79fd9dc948d45730 (diff)
syntax: fix for() loop quirks and variable scoping
- Support `for (var x in ...)` syntax - Support `for (var i = 0; i < ...; i++)` syntax - Properly handle "for" loops without condition and increment expression - Reject for-in loops with invalid lhs Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions