Source code

Revision control

Copy as Markdown

Other Tools

{"version":3,"sources":["parcel://./step-over-for-of-array-closure/input.js"],"names":["root","console","log","val"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBACwBA;AADxB;AACe,SAASA,IAAT,GAAgB;AAC7BC,UAAQC,GAAR,CAAY,YAAZ;;AAEA,OAAK,MAAMC,GAAX,IAAkB,CAAC,CAAD,EAAI,CAAJ,CAAlB,EAA0B;AACxBF,YAAQC,GAAR,CAAY,aAAZ,EAA2B,CAAC,MAAMC,GAAP,GAA3B;AACD;;AAEDF,UAAQC,GAAR,CAAY,MAAZ;AACD","file":"step-over-for-of-array-closure.map","sourcesContent":["// Babel will optimize this for..of because it call tell the value is an array.\nexport default function root() {\n console.log(\"pause here\");\n\n for (const val of [1, 2]) {\n console.log(\"pause again\", (() => val)());\n }\n\n console.log(\"done\");\n}\n"]}