Files
test-repo/tests/binary-expressions/if.js
T
Christopher Chedeau bae08d4e7e Only break for conditionals (#1350)
We only want to break for && and ||, not for ===
2017-04-19 13:18:01 -07:00

9 lines
328 B
JavaScript

if (this.hasPlugin("dynamicImports") && this.lookahead().type) {}
if (this.hasPlugin("dynamicImports") && this.lookahead().type === tt.parenLeft) {}
if (this.hasPlugin("dynamicImports") && this.lookahead().type === tt.parenLeft.right) {}
if (VeryVeryVeryVeryVeryVeryVeryVeryLong === VeryVeryVeryVeryVeryVeryVeryVeryLong) {
}