TIL this is valid JavaScript:
const combined = append
`aa`
`bb`
`cc`();
// 'aabbcc'
See https://gist.github.com/michaelficarra/70ce798feb25fdc91508f387190053a1 … by @jspedant.
-
-
It depends on your interpretation of validness. Iow, "does it comply with the spec" vs "is it runnable/parsable"
-
"... in a compliant execution environment". Which it unquestionably is. You're not going to win this one.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.