As function argument placeholders? Yes.
To mark a variable for garbage collection? Yes.
For instantiation? No.
let x = undefined; // don't do this
Archived post: posted sometime between 2016 and 2022.
As function argument placeholders? Yes.
To mark a variable for garbage collection? Yes.
For instantiation? No.
let x = undefined; // don't do this