Open ljharb opened 7 years ago
I'd say it falls back to default behavior... so after the delete
it would return Uint8Array
Oh... and as we discussed previously, Uint8Array[Symbol.builtin]
is a function
... so Uint8Array[Symbol.builtin]()
returns Uint8Array
.
ohh right sorry, early morning review :-p some of the examples have it as a string still.
That sounds great tho - the spec text for getting the builtin value for x
would then roughly be:
x[Symbol.builtin]
?
In the same way as deleting Symbol.toStringTag falls back to brand checks, should this?
Using the example from the readme (which currently erroneously says "non-function value", but should say "non-string value"):