Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Bar(callback) {
- callback({
- "Foo": "Bar"
- })
- }
- var Foo = null
- Bar(response => {
- console.log("b")
- Foo = response
- })
- console.log(Foo)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement