diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-11-23 10:09:05 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-11-27 19:29:01 +0100 |
commit | 141a6e34eed05577edf43ad085a74f330d0559cb (patch) | |
tree | 1d66ed917d299069b79d34abe1493d18dcb5e138 /lib/internal/console | |
parent | 5904dfcc9c70b79971ab09dacd711e5c13d7120c (diff) | |
download | android-node-v8-141a6e34eed05577edf43ad085a74f330d0559cb.tar.gz android-node-v8-141a6e34eed05577edf43ad085a74f330d0559cb.tar.bz2 android-node-v8-141a6e34eed05577edf43ad085a74f330d0559cb.zip |
lib: enforce use of Array from primordials
PR-URL: https://github.com/nodejs/node/pull/30635
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'lib/internal/console')
-rw-r--r-- | lib/internal/console/constructor.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/internal/console/constructor.js b/lib/internal/console/constructor.js index 43ae0eee41..0e96f16dfd 100644 --- a/lib/internal/console/constructor.js +++ b/lib/internal/console/constructor.js @@ -4,6 +4,8 @@ // console. It's exported for backwards compatibility. const { + ArrayFrom, + ArrayIsArray, MathFloor, ObjectDefineProperties, ObjectDefineProperty, @@ -44,11 +46,6 @@ const kSecond = 1000; const kMinute = 60 * kSecond; const kHour = 60 * kMinute; -const { - isArray: ArrayIsArray, - from: ArrayFrom, -} = Array; - // Lazy loaded for startup performance. let cliTable; |