Symbol array props! let a = Symbol('a'), b = Symbol('b') let x = { [[a, b]]() { return 'test' } } console.log(x[[a, b]]()) //prints 'test'
@domenic @brandonhorst Yeah, you can't coerce symbols to string. Issue with the polyfill, might be as simple as adding a throw to toString.
-
-
-
@brandonhorst@domenic Great, thanks! https://github.com/zloirock/core-js … is the relevant project that Babel uses/recommends. - 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.
he/him 