Logo
Explore Help
Sign In
1berry/nodejs
1
0
Fork 0
You've already forked nodejs
Code Issues Packages Projects Releases Wiki Activity
nodejs/deps/v8/test/mjsunit/protector-cell/int32Array-species.js

11 lines
407 B
JavaScript
Raw Permalink Normal View History

deps: update V8 to 8.9.255.19 PR-URL: https://github.com/nodejs/node/pull/37330 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
2021-02-24 14:47:06 +01:00
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
deps: update V8 to 10.7.193.13 PR-URL: https://github.com/nodejs/node/pull/44741 Fixes: https://github.com/nodejs/node/issues/44650 Fixes: https://github.com/nodejs/node/issues/37472 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
2022-09-21 13:28:42 +02:00
// Flags: --allow-natives-syntax
deps: update V8 to 8.9.255.19 PR-URL: https://github.com/nodejs/node/pull/37330 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
2021-02-24 14:47:06 +01:00
assertTrue(%TypedArraySpeciesProtector());
class MyInt32Array extends Int32Array { }
Object.defineProperty(Int32Array, Symbol.species, { value: MyInt32Array });
assertFalse(%TypedArraySpeciesProtector());
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1847ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API