Move 'this' tests to the correct place.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugins": ["transform-strict-mode", "transform-es2015-modules-commonjs"]
|
||||
"plugins": ["transform-strict-mode"]
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
var foo = () => this;
|
||||
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var foo = () => void 0;
|
||||
@@ -1 +0,0 @@
|
||||
this.foo();
|
||||
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
(void 0).foo();
|
||||
@@ -1 +0,0 @@
|
||||
var self = this;
|
||||
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var self = void 0;
|
||||
@@ -1 +0,0 @@
|
||||
this;
|
||||
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
void 0;
|
||||
Reference in New Issue
Block a user