mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +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]
|
||||
---*/
|
||||
|
||||
var custom = new Proxy(new Function(), {
|
||||
const custom = new Proxy(new Function(), {
|
||||
get(target, key) {
|
||||
if (key === 'prototype') {
|
||||
throw new Test262Error();
|
||||
|
Loading…
x
Reference in New Issue
Block a user