Is it possible in this code:
var this_module = {
foo: 'something'
promise: new Promise (function(resolve, reject) {
resolve (this.foo);
})
}
to set the value of this to be this_module so that this.foo will be foo: 'something'?