mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 14:04:51 +02:00
Update test/intl402/Segmenter/ctor-custom-get-prototype-poison-throws.js
Co-authored-by: Ujjwal Sharma <ryzokuken@disroot.org>
This commit is contained in:
parent
cce13c4c24
commit
6397602037
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user