Discussion :: Javascript - CS
- When will the fourth argument to open() useful?
A.
When the second argument names a retired window |
B.
When the first argument names an existing window |
C.
When the second argument names an existing window |
D.
When the first argument names a retired window |
Answer : Option C
Explanation :
The fourth argument to open() is useful only when the second argument names an existing window. This fourth argument is a boolean value that indicates whether the URL specified as the first argument should replace the current entry in the window’s browsing history (true) or create a new entry in the window’s browsing history (false). Omitting this argument is the same as passing false.
Be The First To Comment