move esnext tests into their own fixtures folder
This commit is contained in:
9
test/fixtures/esnext/es6-object-concise/method-context.js
vendored
Normal file
9
test/fixtures/esnext/es6-object-concise/method-context.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
var a = {
|
||||
b() {
|
||||
return this;
|
||||
}
|
||||
};
|
||||
|
||||
var context = {};
|
||||
assert.strictEqual(a.b(), a);
|
||||
assert.strictEqual(a.b.call(context), context);
|
||||
Reference in New Issue
Block a user