Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log(response.data.title)
- null
- console.log('typeof', typeof response.data.title)
- object
- return response.data && response.data.title && typeof response.data.title !== 'undefined'
- returns null instead of false
Add Comment
Please, Sign In to add comment