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
1 changed files with 1 additions and 1 deletions

View File

@ -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();