Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 Object.defineProperty(String.prototype, Symbol.split, { | |
| 6 get() { | |
| 7 return function(obj, limit) { | |
| 8 return [, null]; | |
| 9 } | |
| 10 } | |
| 11 }); | |
| 12 | |
| 13 dtf = new Intl.DateTimeFormat("de", {timeZone:"America/bueNos_airES"}); | |
| 14 | |
| 15 assertEquals("America/Buenos_Aires", dtf.resolvedOptions().timeZone); | |
| 16 | |
| OLD | NEW |