What will be the output of the following JavaScript code? [code] set.add("1"); set.add("2"); document.writeln(set.has("3")); [/code]

thanhthao

New member
What will be the output of the following JavaScript code?
Code:
set.add("1");  
set.add("2");    
document.writeln(set.has("3"));
A. 3
B. true
C. false
D. 2
 

Tìm kiếm

Back
Top