InterviewSolution
Saved Bookmarks
| 1. |
The basic difference between JavaScript and Java is _________(a) There is no difference(b) Functions are considered as fields(c) Variables are specific(d) Functions are values, and there is no hard distinction between methods and fieldsI have been asked this question by my school principal while I was bunking the class.This intriguing question originated from Classes in JavaScript topic in section Classes and Modules in JavaScript of JavaScript |
|
Answer» The correct answer is (d) Functions are values, and there is no hard DISTINCTION between methods and fields |
|