Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. var flight = {
  2. number : 815,
  3. status : "in-progress"
  4.  
  5. }
  6.  
  7. console.log(typeof flight.toString);
  8. console.log(flight.hasOwnProperty('constructor'));
  9. console.log(flight.hasOwnProperty('number'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement