JavaScript ã§é »åºãã undefined 㨠null ã«ã¤ãã¦èªãã¾ãã è¨èªä»æ§ä¸ã®éã JavaScript (ECMAScript) ã«ããã¦ãä»æ§ä¸ undefined 㨠null ã¯å½ç¶ãªããæ確ã«åºå¥ããã¦ãã¾ããããã¤ãè¨èªä»æ§ä¸ã®æ±ãã«ã¤ãã¦æãã¦ã¿ã¾ãã æ¯è¼ å³å¯ãªæ¯è¼æ¼ç®å === ã«ãã㦠undefined 㨠null ã¯åºå¥ããã¾ãããããæ¯è¼æ¼ç®å == ã«ããã¦ã¯ä¸¡è ã¯åºå¥ããã¾ããï¼ä»æ§ 7.2.14ï¼ã console.log(undefined === null); // false console.log(undefined == null); // true
{{#tags}}- {{label}}
{{/tags}}