Jump to content

Function vs. Method: Mistake or more explaination


Raziel1511

Recommended Posts

Hello,

 

while reading the tutorial about js i found this paragraph:

 

 

[...]The fullName method is a function. The function belongs to the object.[...]

 

According to Stack Overflow fullName is not a function, because the result depends on the state of the object and is not always the same. Maybe you need to correct this or be more precise with your definition of a function.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...