Closed edemaine closed 2 weeks ago
🐱> import { create } from 'qrcode' ... var create;(async ()=>{ {create} = await import('qrcode');return {create}})() ^ Uncaught SyntaxError: Unexpected token '='
While const {create} = ... doesn't need a paren wrapper, {create} = ... does.
const {create} = ...
{create} = ...
While
const {create} = ...
doesn't need a paren wrapper,{create} = ...
does.