+4
-4
src/babel/__snapshots__/plugin.test.js.snap
+4
-4
src/babel/__snapshots__/plugin.test.js.snap
···
13
13
var node = [];
14
14
var x;
15
15
16
-
if (x = __private.exec(state, _re_expression)) {
16
+
if ((x = __private.exec(state, _re_expression)) != null) {
17
17
node.push(x);
18
18
} else {
19
19
state.y = y1;
···
21
21
return;
22
22
}
23
23
24
-
if (x = __private.exec(state, str)) {
24
+
if ((x = __private.exec(state, str)) != null) {
25
25
node.push(x);
26
26
} else {
27
27
state.y = y1;
···
39
39
var node = [];
40
40
var x;
41
41
42
-
if (x = __private.exec(state, _re_expression)) {
42
+
if ((x = __private.exec(state, _re_expression)) != null) {
43
43
node.push(x);
44
44
} else {
45
45
state.y = y1;
···
47
47
return;
48
48
}
49
49
50
-
if (x = __private.exec(state, \\"2\\")) {
50
+
if ((x = __private.exec(state, \\"2\\")) != null) {
51
51
node.push(x);
52
52
} else {
53
53
state.y = y1;
+1
-1
src/codegen.js
+1
-1
src/codegen.js
+2
-1
src/core.js
+2
-1
src/core.js