Comment #1 on issue 714 by mikesamuel: el.innerHTML = undefined;
http://code.google.com/p/google-caja/issues/detail?id=714
var values = [null, undefined, 4, function () {}, {}, 'string']
for (var i = 0; i < values.length; ++i) {
var div = document.createElement('DIV');
document.body.appendChild(div);
var a = document.createElement('h2');
a.appendChild(document.createTextNode(uneval(values[i])));
div.appendChild(a);
var b = document.createElement('b');
b.innerHTML = values[i];
div.appendChild(b);
}
emits something like this
null
(void 0)
undefined
4
4
(function () {})
function () { }
({})
[object Object]
"string"
string
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings