util: determine object types in C++
authorcjihrig <cjihrig@gmail.com>
Tue, 1 Dec 2015 16:27:39 +0000 (11:27 -0500)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:29 +0000 (11:52 -0800)
commitb421119984a35abf54701cd9c223b8b33eb3d599
treedc7ef1d88efce7bcce9fb3f17dd88251a44b9aee
parentacc3d66934082eb09a831828d272da7229f0371c
util: determine object types in C++

Determine object types of regular expressions, Dates, Maps, and
Sets in the C++ layer instead of depending on toString()
behavior in JavaScript.

PR-URL: https://github.com/nodejs/node/pull/4100
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
lib/util.js
src/node_util.cc