News from the Field
A channel with tips on modern AI development. Join!
⊗jsPmBsUd 34 of 504 menu
◀ ▶

Undefined value

The value undefined denotes uncertainty. A variable will have such a value if we declared it, but did not write the value to it:

let a; alert(a); // shows undefined

This value can be assigned explicitly to a variable :

let a = undefined; alert(a); // shows undefined

Declare a variable without assigning a value to it. Display the value of the created variable on the screen.

← →
↑
English▼
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline