Thendral

Translated JS Code

Output

Hello World
Variable declaration
If loop
While loop
Function Declaration
Sum of two numbers
Print even numbers