Created
September 22, 2021 00:11
-
-
Save petamoriken/09664e89a7765d4f307168eee0558552 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// HTML Standard | |
const { map, arr, obj } = structuredClone((() => { | |
const [map, arr, obj] = [new Map(), [], {}]; | |
map.a = "a"; arr.b = "b"; obj.c = "c"; | |
return { map, arr, obj }; | |
})()); | |
console.log(`${map.a} / ${arr.b} / ${obj.c}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment