Advertisement
lazyfish623

Solved JS Example

Jun 15th, 2017
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Bar(callback) {
  2.   callback({
  3.         "Foo": "Bar"
  4.     })
  5. }
  6.  
  7. var Foo = null
  8.  
  9. Bar(response => {
  10.     console.log("b")
  11.   Foo = response
  12. })
  13.  
  14. console.log(Foo)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement