From 63976020376c8c2b0ebabf37c364f25288d4b93b Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 10 Sep 2020 15:24:33 -0400 Subject: [PATCH] Update test/intl402/Segmenter/ctor-custom-get-prototype-poison-throws.js Co-authored-by: Ujjwal Sharma --- .../Segmenter/ctor-custom-get-prototype-poison-throws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();