Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
silverwind
on Oct 25, 2023
|
parent
|
context
|
favorite
| on:
Goodbye, Node.js Buffer
> `Uint8Array.prototype.isPrototypeOf` and `instanceof Uint8Array` do not work across realms (frames, Node.js VM, etc).
That sounds like a bug in those implementations.
eyelidlessness
on Oct 25, 2023
[–]
That’s a reasonable intuition, but it’s not a bug. Global scopes are isolated between realms by design, and that applies to built-ins as well as their prototype chains.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
That sounds like a bug in those implementations.