mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 06:31:27 +00:00
@@ -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