Correction: jsguide.html - Changed null to undefined

## This change is "Not important".
Please don't review this leaving your work behind.

## Change description 
Keys not defined in an Object are undefined.
``` javascript
const o = {width: 42};
o.maxWidth === null // false
o.maxWidth === undefined // true
```
This commit is contained in:
Kumar Sidharth 2024-02-01 15:44:28 +05:30 committed by GitHub
parent 1ec490aaef
commit 9e752536b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1413,7 +1413,7 @@ if (o.hasOwnProperty('maxWidth')) {
<pre><code class="language-js prettyprint">/** @type {{width: number, maxWidth: (number|undefined)}} */
const o = {width: 42};
if (o.maxWidth != null) {
if (o.maxWidth != undefined) {
...
}
</code></pre>