mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 06:20:41 +00:00
Bug 318204 don't use ===, properties might be undefined
Ok, use === carefully :) r=bz sr=neil
This commit is contained in:
parent
876497f5c0
commit
d1dd95b6b2
@ -209,7 +209,9 @@ JSObjectViewer.prototype =
|
||||
|
||||
var value;
|
||||
if (aValue === null) {
|
||||
value = "(null)"
|
||||
value = "(null)";
|
||||
} else if (aValue === undefined) {
|
||||
value = "(undefined)";
|
||||
} else {
|
||||
try {
|
||||
value = aValue.toString();
|
||||
|
Loading…
x
Reference in New Issue
Block a user