I'd like to use the import keyword in MDN Playground Javascript code but it currently fails with SyntaxError: Cannot use import statement outside a module.
Is there something hidden like js live-sample_example module I could use by any chance?
This is blocking me from updating MDN documentation page. Here's my workaround for now: mdn/content#44981
I'd like to use the
importkeyword in MDN Playground Javascript code but it currently fails withSyntaxError: Cannot use import statement outside a module.Is there something hidden like
js live-sample_example moduleI could use by any chance?This is blocking me from updating MDN documentation page. Here's my workaround for now: mdn/content#44981