document. write()
console.log()
innerHTML
document.getElementById()
window. alert()
integers
double precision floating point
double
floating point
parseInt ()
Number()
parseFloat()
valueOf()
Display()
Prompt()
Alert()
Confirm()
what will be the output of
document.write("5" + 5)
5
10
55
error
=
==
===
!=
<script src="script.js"></script>
<javascript src="script.js"></javascript>
<link href="script.js" rel="script">
<script href="script.js"></script>
<script> alert('Hello, World!'); </script>
<js> alert('Hello, World!'); </js>
<style> alert('Hello, World!'); </style>
Multiple <script> tags can be used in the same HTML document
The <script> tag can only be placed in the <head> section
The <script> tag can only be used once in an HTML document
The <script> tag must always reference an external file
JavaScript must always be placed inside the <head> tag
JavaScript can be placed either in the <head> or <body> tag
JavaScript can only be placed in external files
JavaScript cannot be placed in the <head> tag
var
let
static
public
What is the output?
console.log("5" + 2);
7
52
Error
Undefined
::
?:
??
=>
console.log(2+"2"*2);
44
12
6
/
%
*
^
What will be the output?
console.log(true + true);
0
1
2
2value
first-name
_totalAmount
The with value let cannot of a variable declared with var can be changed while the value of a variable declared be changed
var defines a variable while let defines a constant
var declare function scoped variable while let declare block scoped variable
All of the options