Computer Science, asked by Kapue5295, 11 months ago

Do you think JavaScript Functions are Object Methods?

Answers

Answered by Anonymous
0

Like the program itself, a function is composed of a sequence of statements called the function body. Values can be passed to a function, and the function will return a value. In JavaScript, functions are first-class objects, because they can have properties and methods just like any other object.

Similar questions