Math.cos() example

<!DOCTYPE html> <html> <body> <p id="mathGen"&...

Math.sin() example

<!DOCTYPE html> <html> <body> <p id="mathGen"&...

Math.tan() example

<!DOCTYPE html> <html> <body> <p id="mathGen"&...

Math.pow() example

<!DOCTYPE html> <html> <body> <p id="mathGen"&...

Math.sqrt() example

<!DOCTYPE html> <html> <body> <p id="mathGen"&...

The with statement example

<!DOCTYPE html> <html> <body> <script> var area =500; va...

Example of self-executing anonymous function

<!DOCTYPE html> <html> <body> <script> //Anonymous funct...

Example of nested anonymous function

<!DOCTYPE html> <html> <body> <script> //Passing functio...

Arguments passing to anonymous function

<!DOCTYPE html> <html> <body> <script> (function(x, y){...

Recursive function calculating power if a number

<!DOCTYPE html> <html> <body> <input type="text"...