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); } //# sourceMappingURL=http://localhost:8080/array-args-with-default-values.js.map ver-identity-CN'>ansg191/server-identity-CN Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/test/macro (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-07-17fix scoped packages name resolution (#760)Gravatar Alexander Kuznetsov 1-2/+8
2022-07-16test(wiptest): add a way to test wiptest (#699)Gravatar thislooksfun 8-2/+451
2022-07-16docs: fix documentation of `atob` and `btoa` (#748)Gravatar thislooksfun 1-6/+6
2022-07-16fix/clean-up-bun-error (#753)Gravatar John Daly 4-101/+54
2022-07-15[parser] Fix symbol collision with requireGravatar Jarred Sumner 7-40/+63
2022-07-15Add a TLA testGravatar Jarred Sumner 2-0/+11
2022-07-15[bun.js] Fix non-ascii latin1 string handling in console.logGravatar Jarred Sumner 7-73/+175
2022-07-15minor edit: Makefile (#672)Gravatar Travis Pulley 1-1/+7
2022-07-15fix(README): Remove unused troubleshooting link (#736)Gravatar Finn R. Gärtner 1-1/+0