I want to get the value of the this property from a function which is already bound.
function foo(){
console.log(this.a)
}
const bar = foo.bind({a:1})
bar() // Prints 1
bar.getThis() // should return { a: 1 }
In the above example, how do I extract the bound object { a: 1 } from the variable bar?
