OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 (function(global, utils) { | 5 (function(global, utils) { |
6 | 6 |
7 'use strict'; | 7 'use strict'; |
8 | 8 |
9 %CheckIsBootstrapping(); | 9 %CheckIsBootstrapping(); |
10 | 10 |
| 11 var isConcatSpreadableSymbol = |
| 12 utils.ImportNow("is_concat_spreadable_symbol"); |
| 13 |
11 utils.InstallConstants(global.Symbol, [ | 14 utils.InstallConstants(global.Symbol, [ |
12 // TODO(littledan): Move to symbol.js when shipping | 15 // TODO(littledan): Move to symbol.js when shipping |
13 "isConcatSpreadable", symbolIsConcatSpreadable | 16 "isConcatSpreadable", isConcatSpreadableSymbol |
14 ]); | 17 ]); |
15 | 18 |
16 }) | 19 }) |
OLD | NEW |