for loop
while loop
do-while loop
foreach loop
What will be the output of the following JavaScript code?
let i = 0; while(i < 3) { console.log(i); i++; }
0 1 2
1 2 3
0 1 2 3
1 2
A programming language for creating static pages
A scripting language for creating interactive web pages
A styling language for designing web pages
A database query language
System.out.println("Hello World");
document.write("Hello World");
echo("Hello World");
print("Hello World");
let myVar;
var myVar;
const myVar;
All of the above
<!-- Comment -->
# Comment
// Comment
** Comment **
int("123")
parseInt("123")
toInt("123")
(int) “123”
=
==
===
!=
Not a Name
Not a Number
Null and None
Name and Number
setTimeout()
setInterval()
repeat()
loop()
4
22
NaN
Error
msg("Hello World");
alert("Hello World");
console.log("Hello World");
Compiled
Interpreted
Markup
Styling
Displays a message box with the text inside
Prints output to the web browser
Prints output to the browser's console
Terminates the script
.!=
2variable
variable-2
my variable
my variable2
//
<!-- -->
/* */
#
x =! 5
x !== 5
x != 5
Both b) and c)
function
def
declare
func
+
.
*
&