diff --git a/jsguide.html b/jsguide.html index 9aca653..d28bfdb 100644 --- a/jsguide.html +++ b/jsguide.html @@ -1413,7 +1413,7 @@ if (o.hasOwnProperty('maxWidth')) {
/** @type {{width: number, maxWidth: (number|undefined)}} */
 const o = {width: 42};
-if (o.maxWidth != null) {
+if (o.maxWidth != undefined) {
   ...
 }