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