issue-105.js 534 B

1234567891011121314151617181920212223242526
  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. typeof_eq_undefined_unsafe: {
  9. options = {
  10. comparisons: true,
  11. unsafe: true
  12. };
  13. input: { a = typeof b.c != "undefined" }
  14. expect: { a = void 0 !== b.c }
  15. }
  16. typeof_eq_undefined_unsafe2: {
  17. options = {
  18. comparisons: true,
  19. unsafe: true
  20. };
  21. input: { a = "undefined" != typeof b.c }
  22. expect: { a = void 0 !== b.c }
  23. }