OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 // Flags: --no-stress-opt |
| 6 |
| 7 console.time(); |
| 8 console.timeEnd(); |
| 9 |
| 10 console.time("abcd"); |
| 11 console.timeEnd({ toString: () => "ab" + "cd" }); |
| 12 |
| 13 console.time("a"); |
| 14 console.timeEnd("b"); |
| 15 |
| 16 console.time("a", "b"); |
| 17 console.timeEnd("a", "b"); |
| 18 |
| 19 console.log("log", "more"); |
| 20 console.warn("warn", { toString: () => 2 }); |
| 21 console.error("error"); |
| 22 console.debug("debug"); |
| 23 console.info("info"); |
OLD | NEW |