mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 16:42:58 +00:00
1 parent
88d8a409bb
commit
31ed6254db
1 file changed
+1
-1
@@ -115,7 +115,7 @@ function CPJSObjectCreateJSON(aJSObject)
|
||||
// typeof new Number() and new String() gives you "object",
|
||||
// so valueof in those cases.
|
||||
var type = typeof aJSObject,
|
||||
valueOf = aJSObject.valueOf(),
|
||||
valueOf = aJSObject ? aJSObject.valueOf() : null,
|
||||
typeValueOf = typeof valueOf;
|
||||
|
||||
if (type != typeValueOf)
|
||||
|
||||
Reference in new issue
Block a user