Skip to content

buffer: don't abort on prototype getters

Accessing prototype properties directly on a typed array will throw. So do an extra check in Buffer's own getters to verify it is being called on an instance.

Fixes: https://github.com/nodejs/node/issues/3297

R=@Fishrock123 ?

CI: https://ci.nodejs.org/job/node-test-pull-request/468/

Merge request reports

Loading