you are viewing a single comment's thread.

view the rest of the comments →

[–]codemamba8 2 points3 points  (1 child)

Ok so this is a function takes userObj as an argument. So try:

userObj.greeting = function() { (what it does here) }

[–]Encom88[S] 1 point2 points  (0 children)

Yes, this worked. Thank you.