Do you think JavaScript Functions are Object Methods?
Answers
Answered by
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
Science,
6 months ago
Math,
6 months ago
Social Sciences,
6 months ago
Computer Science,
11 months ago
Social Sciences,
1 year ago