console.log(
import( foo),
import( 'foo'),
import(foo ),
import('foo' ),
)
console.log(
import('foo', { assert: { type: 'json' } }),
import('foo', { assert: { type: 'json' } }),
import('foo', { assert: { type: 'json' } }),
import('foo', { assert: { type: 'json' } }),
import('foo', { assert: { type: 'json' } }),
import('foo', { assert: { type: 'json' } }),
import('foo', { assert: { type: 'json' } }),
import('foo', { assert: { type: 'json' } } ),
)
console.log(
require( foo),
require( 'foo'),
require(foo ),
require('foo' ),
)
console.log(
require.resolve( foo),
require.resolve( 'foo'),
require.resolve(foo ),
require.resolve('foo' ),
)
let [] = [];
let [
] = [
];
let [ ...s] = [ ...s]
let [... s2] = [... s2]
let { } = { };
let {
} = {
};
let { ...s3 } = { ...s3 }
let { ... s4 } = { ... s4 }
let [ x] = [ x];
let [ x2 ] = [ x2 ];
let [
x3
] = [
x3
];
let { y } = { y };
let { y2 } = { y2 };
let {
y3
} = {
y3
};
let { [y4]: y4 } = { [y4]: y4 };
let { [ y5]: y5 } = { [ y5]: y5 };
let { [y6 ]: y6 } = { [y6 ]: y6 };
foo[ x] = foo[ x]
foo[x ] = foo[x ]
console.log(
foo,
bar,
)
console.log([
foo,
bar,
])
console.log({
foo,
bar,
})
console.log(class {
foo
bar
})
console.log(
() => { return null },
() => { throw null },
() => { return ( null) + 1 },
() => { throw ( null) + 1 },
() => {
return ( null) + 1
},
() => {
throw ( null) + 1
},
)
console.log(
a ? b : c,
a ? b : c ,
)
for (a;;);
for (;a;);
for (;;a);
for (a in b);
for (a in b);
for (a of b);
for (a of b);
if (a);
with (a);
while (a);
do {} while (a);
switch (a) {}