Đặng Thị Thúy Hằng
New member
What will be the efficiency quotient of the following JavaScript statements?
A. The programmer imports at once the frequently used values into the global namespace
B. There is no efficiency quotient, the programmer tries to make it inefficient
C. The programmer needs to import the Sets everytime he wants to use it
D. the programmer imports the set everytime the statement is encountered
Code:
var Set = sets.Set;
var s = new Set(1,2,3);
B. There is no efficiency quotient, the programmer tries to make it inefficient
C. The programmer needs to import the Sets everytime he wants to use it
D. the programmer imports the set everytime the statement is encountered