JavaScript Questions-(Part-2) – User friendly Tech help
n n n n n Prepare well to crack Interview’s n n n nn1.What is the functionality of DOM?nn2.Tell different ways to refresh the page?nlocation.reload()nhistory.go()nwindow.location.hrefnn3.How to assign value to ViewState?nViewState.Add(“Name”,”UFT”);nViewState[“Name”] = “UFT”;nn4.What is the output of JS Code?nvar title=”User Friendly Techy Help”;nvar char = title[13];nalert(char);nn5.How to make this string capitalize “UFT”;nn6.What will be the output…