diff options
Diffstat (limited to 'js/src/jit-test/tests/modules/import-default-function.js')
-rw-r--r-- | js/src/jit-test/tests/modules/import-default-function.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/modules/import-default-function.js b/js/src/jit-test/tests/modules/import-default-function.js new file mode 100644 index 0000000000..95e962448f --- /dev/null +++ b/js/src/jit-test/tests/modules/import-default-function.js @@ -0,0 +1,4 @@ +// |jit-test| module + +import f from "defaultFunction.js"; +assertEq(f(21), 42); |