Test case details

Preparation Code

var a = 1, b = true, c = "c", d = [], e = {}, u;

Test cases

Test #1

typeof a === 'undefined'; typeof b === 'undefined'; typeof c === 'undefined'; typeof d === 'undefined'; typeof e === 'undefined';

Test #2

a === undefined; b === undefined; c === undefined; d === undefined; e === undefined;  

Test #3

a === u; b === u; c === u; d === u; e === u;

Test #4

a === void 0; b === void 0; c === void 0; d === void 0; e === void 0;

Test #5

typeof(a) === undefined; typeof(b) === undefined; typeof(c) === undefined; typeof(d) === undefined; typeof(e) === undefined;