-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
8, 8u20
-
None
-
jdk8, b129
-
generic
-
generic
Run this code :
var context = {
b : 42
}
function a () {
print(this.b)
}
a()
var c = a.bind(context)
c()
output :
undefined
undefined // this is wrong, need "42"
var context = {
b : 42
}
function a () {
print(this.b)
}
a()
var c = a.bind(context)
c()
output :
undefined
undefined // this is wrong, need "42"