Identify a true statement about a function in JavaScript.
A. A function can be stored as a variable.
B. An object is passed through a function using the pass by value method.
C. A special function exists for multithreading in JavaScript.
D. An object is passed through a function using pass by reference method.
Answer: A
Computer Science & Information Technology
You might also like to view...
The value of which of the following growth-rate functions grows the fastest?
a) O(n) b) O(n2) c) O(1) d) O(log2n)
Computer Science & Information Technology
Which of the following will cause the next output to begin on a new line?
A) cout << endl; B) cout << "endl"; C) cout << "/n"; D) All of the above E) A and C, but not B
Computer Science & Information Technology