Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.af.list('/questions').subscribe( val => {
- this.questions = val
- console.log(this.questions) // works
- })
- console.log(this.questions) // displays undefined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement