java_script_1
1:count value set according to the condition in Asynchronous Function...
count=5
A=setInterval(
function(){
console.log(count);
count--;
if(count<0){
clearInterval(A);
}
},1000);
2..window object
function f3(){
window.open("A.html","",
"height=500px,left=200px,
top=50px,width=500px");
}
Comments
Post a Comment