Adam Cameron
["tahi", "rua", "toru", "wha"].each((v, i) => {
writeOutput("#i#:#v#<br>")
})
[true, false].each((v, i) => {
writeOutput("#i#:#v#<br>")
})
Errors with "Invalid Syntax Closing []] not found on line 6"
stick a semi-colon after the first expression: all good.
Will check Jira...Adam Cameron
zackster
05/05/2023, 3:16 PMzackster
05/05/2023, 3:16 PMian.hickey
05/05/2023, 3:42 PMAdam Cameron
["tahi", "rua", "toru", "wha"].each((v, i) => {
writeOutput("#i#:#v#<br>")
})[true, false]
As in it's thinking the [true, false] thing is badly-formed associative array notation.Adam Cameron