alert('the result is ${1+2)')
Which browser uses the Carakan JavaScript engine?
Which method removes the current document from the browsing history before loading the new document?
What is the solution when a script tag is missing the src attribute?
<script>
var first_variable = 'Bhavik\'s';
document.getElementById("first_function").innerHTML = first_variable ;
</script>
What will be the output of the following JavaScript code?
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML = typeof "John";
</script>
What is the purpose of the <noscript> HTML tag?
What is the output of the following code?
const array1 = ['a', 'b', 'c'];
const iterator = array1.reverse().values();
for (const value of iterator) {
console.log(value);
break;
}
function demo()
{
var boat=document.getElementById("boat").value;
alert(boat*boat*boat);
}
<form>
Enter No:<input type="text" id="boat" name="boat"/><br/>
<input type="button" value="10" onclick="demo()"/>
</form>
What will be the output of the following code?
const arr = ["sundaram", "saurabh","Khusaboo",1]
console.log(arr.reverse())