test(index): replace typeof
undefined check
#275
+2
−2
Merged
typeof
undefined check
#275