SHARE
TWEET

Untitled

a guest Jul 17th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.af.list('/questions').subscribe( val => {
  2.      this.questions = val
  3.      console.log(this.questions) // works
  4. })
  5. console.log(this.questions) // displays undefined
RAW Paste Data
Top