This commit is contained in:
brendan%mozilla.org 2004-02-24 21:23:45 +00:00
parent 9721bdfe63
commit 0bc43fbec1

View File

@ -201,8 +201,6 @@ function toObject(v, r, rn) {
return v;
}
var message = r + " (type " + (typeof v) + ") has no properties";
if (r instanceof Reference)
message += ", not even " + r.propertyName;
throw rn ? new TypeError(message, rn.filename, rn.lineno)
: new TypeError(message);
}