Hash :
1f3f8929
Author :
Date :
2020-01-05T20:11:53
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
async function bar() {
return [...await foo()]
}
console.log([...new Set(numbers)])
----------------------------------------------------
[
["keyword", "async"],
["keyword", "function"],
["function", "bar"],
["punctuation", "("],
["punctuation", ")"],
["punctuation", "{"],
["keyword", "return"],
["punctuation", "["],
["operator", "..."],
["keyword", "await"],
["function", "foo"],
["punctuation", "("],
["punctuation", ")"],
["punctuation", "]"],
["punctuation", "}"],
"\r\n\r\nconsole",
["punctuation", "."],
["function", "log"],
["punctuation", "("],
["punctuation", "["],
["operator", "..."],
["keyword", "new"],
["class-name", [
"Set"
]],
["punctuation", "("],
"numbers",
["punctuation", ")"],
["punctuation", "]"],
["punctuation", ")"]
]
----------------------------------------------------
Checks for the spread operator followed by a keyword.