mirror of https://github.com/tc39/test262.git
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…
Reference in New Issue