handle "static" contexts in es7.functionBind - #1518
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
var bar = function () {};
|
||||
foo::bar;
|
||||
|
||||
var foo = {};
|
||||
::foo.bar;
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
var bar = function bar() {};
|
||||
bar.bind(foo);
|
||||
|
||||
var foo = {};
|
||||
foo.bar.bind(foo);
|
||||
Reference in New Issue
Block a user