Update test/intl402/Segmenter/ctor-custom-get-prototype-poison-throws.js

Co-authored-by: Ujjwal Sharma <ryzokuken@disroot.org>
This commit is contained in:
Rick Waldron 2020-09-10 15:24:33 -04:00
parent cce13c4c24
commit 6397602037

View File

@ -19,7 +19,7 @@ info: |
features: [Intl.Segmenter, Reflect, Proxy] features: [Intl.Segmenter, Reflect, Proxy]
---*/ ---*/
var custom = new Proxy(new Function(), { const custom = new Proxy(new Function(), {
get(target, key) { get(target, key) {
if (key === 'prototype') { if (key === 'prototype') {
throw new Test262Error(); throw new Test262Error();