What will be the output of the following JavaScript code? [code] <p id="demo"></p> <script> document.getElementById("demo").innerHTML = Math.min

Kim Thu Đoàn

New member
What will be the output of the following JavaScript code?
Code:
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML =
Math.min(0, 150, 30, 20, -8, -200);
</script>
A. 0
B. -8
C. -200
D. 20
 

Tìm kiếm

Back
Top