Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ({
- foo: function (component) {
- console.log(this.bar); // <-- undefined
- window.setTimeout(function () {
- this.bar(someValue);
- }, 12345);
- },
- bar: function (someArgument) {
- console.log("bar"); // <-- not called
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement