Select to view content in your preferred language

Arcade: Support the (for...of) statement

615
3
03-04-2022 10:34 PM
Status: Implemented
Labels (1)
Bud
by
Legendary Contributor


Could Esri consider supporting the JavaScript 
(for...of) statement in Arcade?

for (var path of paths) {
    for (var point of path) {

JavaScript For Of


Currently, only the (for...in) statement is supported:

 

 

3 Comments
AlfredBaldenweck

AFAIK this was added in the November 2024 update (v. 1.29)

Bud
by

@SSWoodward Could Esri confirm and close this idea? I don't have access to Pro check.

SSWoodward
Status changed to: Implemented

Thanks this was implemented in Arcade version 1.29 released last February

Here is a link to the documentation:
https://developers.arcgis.com/arcade/guide/loops/#forof