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 let options = {}; |
| 6 new Intl.DateTimeFormat(undefined, options); |
| 7 assertEquals([], Object.getOwnPropertyNames(options)); |
| 8 |
| 9 let date = new Date(); |
| 10 date.toLocaleString(undefined, options); |
| 11 assertEquals([], Object.getOwnPropertyNames(options)); |
| 12 |
| 13 date.toLocaleDateString(undefined, options); |
| 14 assertEquals([], Object.getOwnPropertyNames(options)); |
| 15 |
| 16 date.toLocaleTimeString(undefined, options); |
| 17 assertEquals([], Object.getOwnPropertyNames(options)); |
OLD | NEW |