When printing, check to see if value is undefined. If so, print nothing.

pull/22966/head
RayMorgan 2009-09-24 22:16:07 -07:00
parent 7674bd5004
commit 028e24c9f5
1 changed files with 4 additions and 0 deletions

View File

@ -165,6 +165,10 @@ function printValue (value) {
return;
}
if (value === undefined) {
return;
}
try {
puts(JSON.stringify(value));
} catch (e) {