null、型 Null (JavaScript)The null value is a primitive value that represents the null, empty, or non-existent reference.
[3]
null は undefined や false や空文字列と似ていますが、
いずれとも異なる値です。また、数値の 0 とも異なります。
[4]
Perl では undef に相当します。ただし Perl の undef
には JavaScript の undefined の役割もあります。
? (Web IDL)[7] Web IDL では、型 に ?
を付けることで、 null も値として認められることを表します。
[9] Disallow nullable Promise types. (#248) (tobie著, ) <https://github.com/heycam/webidl/commit/7366419820e871db6792fd4e7407d490cdaa8020>
[10] Add null, true, and false (annevk著, ) <https://github.com/whatwg/infra/commit/83c18bb1b77baf3d34457c95b458e5adaaa20c9f>
[11] Add basic JavaScript types · Issue #95 · whatwg/infra () <https://github.com/whatwg/infra/issues/95>
[12] Add basic JavaScript types · Issue #95 · whatwg/infra () <https://github.com/whatwg/infra/issues/95>
[13] Add null, true, and false by annevk · Pull Request #171 · whatwg/infra () <https://github.com/whatwg/infra/pull/171>