mirror of
https://github.com/danbulant/bpm
synced 2026-07-05 02:50:43 +00:00
Add console time
This commit is contained in:
parent
559252afcd
commit
b83674b6c3
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ class CustomConsole {
|
||||||
width = process.stdout.columns | 999;
|
width = process.stdout.columns | 999;
|
||||||
height = process.stdout.rows | 999;
|
height = process.stdout.rows | 999;
|
||||||
|
|
||||||
|
time(...args){
|
||||||
|
return console.time(...args);
|
||||||
|
}
|
||||||
outputArray(arr, empty = "None") {
|
outputArray(arr, empty = "None") {
|
||||||
if(!Array.isArray(arr))throw Error("Cannot convert non-array to array");
|
if(!Array.isArray(arr))throw Error("Cannot convert non-array to array");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue