summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/actions/tests/fixtures/scopes.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/src/actions/tests/fixtures/scopes.js')
-rw-r--r--devtools/client/debugger/src/actions/tests/fixtures/scopes.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/devtools/client/debugger/src/actions/tests/fixtures/scopes.js b/devtools/client/debugger/src/actions/tests/fixtures/scopes.js
new file mode 100644
index 0000000000..3a38097f5e
--- /dev/null
+++ b/devtools/client/debugger/src/actions/tests/fixtures/scopes.js
@@ -0,0 +1,11 @@
+// Program Scope
+
+function outer() {
+ function inner() {
+ const x = 1;
+ }
+
+ const declaration = function() {
+ const x = 1;
+ };
+}