Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

native map in javascript

$
0
0

Just wondering if someone can tell me why this code generates an error in Extendscript

 

[0,1,2].map(function { alert(i); });

 

 

funny when I import underscore.js the _.map seems to work fine


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>