I’m a bit confused about JavaScript’s undefined and null values.
undefined
null
What does if (!testvar) actually do? Does it test for u
if (!testvar)
u
Try this:
// found on UglifyJS variable = void 0;