diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2020-09-18 15:20:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 09:20:55 -0400 |
commit | 7845740637eb646c0b13dc541f043fd65136fc03 (patch) | |
tree | 8576a376d72ffdfe4ffed983a2bed9e605d20e8b /cli/rt/02_console.js | |
parent | cead79f5b8ffd376d339b6e0c30e872bfe6820f6 (diff) |
refactor: deno_fetch op crate (#7524)
Diffstat (limited to 'cli/rt/02_console.js')
-rw-r--r-- | cli/rt/02_console.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/rt/02_console.js b/cli/rt/02_console.js index a5e6595b9..34e106ff2 100644 --- a/cli/rt/02_console.js +++ b/cli/rt/02_console.js @@ -15,7 +15,6 @@ } = window.__bootstrap.colors; const { - isTypedArray, isInvalidDate, hasOwnProperty, } = window.__bootstrap.webUtil; @@ -23,6 +22,10 @@ // Copyright Joyent, Inc. and other Node contributors. MIT license. // Forked from Node's lib/internal/cli_table.js + function isTypedArray(x) { + return ArrayBuffer.isView(x) && !(x instanceof DataView); + } + const tableChars = { middleMiddle: "─", rowMiddle: "┼", |