accomodates the sort behaviour changes made in commit mishoo/UglifyJS2@aebafad41e. Signed-off-by: Justin Lau <justin@tclau.com>
17 lines
349 B
JavaScript
17 lines
349 B
JavaScript
typeof_eq_undefined: {
|
|
options = {
|
|
comparisons: true
|
|
};
|
|
input: { a = typeof b.c != "undefined" }
|
|
expect: { a = typeof b.c != "undefined" }
|
|
}
|
|
|
|
typeof_eq_undefined_unsafe: {
|
|
options = {
|
|
comparisons: true,
|
|
unsafe: true
|
|
};
|
|
input: { a = typeof b.c != "undefined" }
|
|
expect: { a = b.c !== void 0 }
|
|
}
|