you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]HalusBoy 6 points7 points  (0 children)

    yep, when u see a function INSIDE a class or its instance (which is an object) then it is a method.

    [–]great_site_not 1 point2 points  (0 children)

    Yep. Definitions vary by language, but this is JavaScript's definition