aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/array-args-with-default-values.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snippets/array-args-with-default-values.js')
-rw-r--r--integration/snippets/array-args-with-default-values.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/integration/snippets/array-args-with-default-values.js b/integration/snippets/array-args-with-default-values.js
deleted file mode 100644
index f733a1bfa..000000000
--- a/integration/snippets/array-args-with-default-values.js
+++ /dev/null
@@ -1,28 +0,0 @@
-var lines;
-const data = () =>
- lines.map(([a = null, b = null, c = null, d = null]) => ({
- a,
- b,
- c,
- d,
- }));
-
-export function test() {
- let ran = false;
- lines = [
- [undefined, undefined, undefined, undefined],
- [undefined, undefined, undefined, undefined],
- [undefined, undefined, undefined, undefined],
- [undefined, undefined, undefined, undefined],
- ];
-
- for (let foo of data()) {
- console.assert(foo.a === null);
- console.assert(foo.b === null);
- console.assert(foo.c === null);
- console.assert(foo.d === null);
- ran = true;
- }
- console.assert(ran);
- testDone(import.meta.url);
-}