summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/sourcemapped/output/rollup/step-over-for-of-array.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/sourcemapped/output/rollup/step-over-for-of-array.js')
-rw-r--r--devtools/client/debugger/test/mochitest/examples/sourcemapped/output/rollup/step-over-for-of-array.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/sourcemapped/output/rollup/step-over-for-of-array.js b/devtools/client/debugger/test/mochitest/examples/sourcemapped/output/rollup/step-over-for-of-array.js
new file mode 100644
index 0000000000..53c8583c64
--- /dev/null
+++ b/devtools/client/debugger/test/mochitest/examples/sourcemapped/output/rollup/step-over-for-of-array.js
@@ -0,0 +1,18 @@
+var rollupStepOverForOfArray = (function () {
+ 'use strict';
+
+ // Babel will optimize this for..of because it call tell the value is an array.
+ function root() {
+ console.log("pause here");
+
+ for (const val of [1, 2]) {
+ console.log("pause again", val);
+ }
+
+ console.log("done");
+ }
+
+ return root;
+
+}());
+//# sourceMappingURL=step-over-for-of-array.js.map