Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80728 views
1
typeof_eq_undefined: {
2
options = {
3
comparisons: true
4
};
5
input: { a = typeof b.c != "undefined" }
6
expect: { a = "undefined" != typeof b.c }
7
}
8
9
typeof_eq_undefined_unsafe: {
10
options = {
11
comparisons: true,
12
unsafe: true
13
};
14
input: { a = typeof b.c != "undefined" }
15
expect: { a = void 0 !== b.c }
16
}
17
18
typeof_eq_undefined_unsafe2: {
19
options = {
20
comparisons: true,
21
unsafe: true
22
};
23
input: { a = "undefined" != typeof b.c }
24
expect: { a = void 0 !== b.c }
25
}
26
27