util: improve util.isDate() function
The old implementation was fragile. i.e. node-time is an example of a user-land module that exports an extended Date object (with a few added functions on it's own Date object's prototype). In that case, the old check fails.
parent
2b0a7d63
Please register or sign in to comment