Code cleanup

This commit is contained in:
Behind The Math
2018-01-29 23:20:00 -05:00
committed by Robin North
parent 57aed828ac
commit 6fb509a021
12 changed files with 25 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
module.exports = function(obj) {
if (null === obj || "object" != typeof obj) {
if (null === obj || "object" !== typeof obj) {
return obj
}
var copy = obj.constructor()