BigFont Blog
  • Home
  • About
  • Bibliography (Work)

ecma

A collection of 1 post

javascript

Legitimate uses of undefined in JavaScript

As function argument placeholders? Yes. To mark a variable for garbage collection? Yes. For instantiation? No. let x = undefined; // don't do this

  • Shaun Luttin
    Shaun Luttin
1 min read
BigFont Blog © 2021
Latest Posts Ghost