diff --git a/test/intl402/Segmenter/ctor-custom-get-prototype-poison-throws.js b/test/intl402/Segmenter/ctor-custom-get-prototype-poison-throws.js index 75db21c858..a16969c127 100644 --- a/test/intl402/Segmenter/ctor-custom-get-prototype-poison-throws.js +++ b/test/intl402/Segmenter/ctor-custom-get-prototype-poison-throws.js @@ -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();