summaryrefslogtreecommitdiff
path: root/src/node_util.cc
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2015-10-05 16:29:27 -0500
committerEvan Lucas <evanlucas@me.com>2015-10-05 20:24:08 -0500
commit089d6886178864b56fdd5dc2bcfc8f207aa4326c (patch)
tree23860c4efb0728f14037f83199f85ec5aced2311 /src/node_util.cc
parent77a10ed05f1e413818d29f07cbb268108b1f08fa (diff)
downloadandroid-node-v8-089d6886178864b56fdd5dc2bcfc8f207aa4326c.tar.gz
android-node-v8-089d6886178864b56fdd5dc2bcfc8f207aa4326c.tar.bz2
android-node-v8-089d6886178864b56fdd5dc2bcfc8f207aa4326c.zip
util: fix check for Array constructor
In the event an Array is created in a Debug context, the constructor will be Array, but !== Array. This adds a check constructor.name === 'Array' to handle edge cases like that. PR-URL: https://github.com/nodejs/node/pull/3119 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/node_util.cc')
0 files changed, 0 insertions, 0 deletions