Guest User

Untitled

a guest
Nov 16th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. person.greet(); // outputs "Hi, my name is Natoshi Sakamoto."
  2.  
  3. // we can also use the dot (.) notation to execute the method like so:
  4. person['greet']();
Add Comment
Please, Sign In to add comment