You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.
I'm confused what the "@@" are supposed to represent as it doesn't look like you have es6 support -- I don't suppose the above is actually interoperable with the library. But isn't "@@" for "well-known symbols" in es6?
The text was updated successfully, but these errors were encountered:
Yep. Have a look at the Symbols chapter of You Don't Know JS: ES 6 & Beyond. Here's a note from the Built-in Symbols section:
The specification uses the @@ prefix notation to refer to the built-in symbols, the most common ones being: @@iterator, @@toStringTag, @@toPrimitive.
That leads to the question, are a String and a Symbol equivalent? You can use the following block to spot check if they're the same. It looks to me like you'll need a PR to support Symbols before your code with Symbols.
Does the use of "@@" in the protocol mean that in es6 code I should actually do something like the following to define a transformer?
I'm confused what the "@@" are supposed to represent as it doesn't look like you have es6 support -- I don't suppose the above is actually interoperable with the library. But isn't "@@" for "well-known symbols" in es6?
The text was updated successfully, but these errors were encountered: