constructor_fastpath.js 556 B

1234567891011121314
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. function makeArray() {
  6. return [new Array(true), new Array("some string"), new Array(1075133691)];
  7. }
  8. for (let i = 0; i < 100; ++i) {
  9. makeArray();
  10. }
  11. console.log("pass");