<!DOCTYPE html> <html> <head> 1. var s ='This is a string;'//now s is of string data type 2. var s ='25';//now s is of number or integer data type 3. var s = true;//now s is of Boolean data type 4. var s=[0,'one',2,3,'4',5];//now s is of array data type 5. var s= {'color':'red'}//now s is of object data type. Color is a JavaScript object 6. var s = function() { return "example function" } //The compiler executes the function and stores the return value of the function which is //"example function" in the variable s. </script> </head> <body> </body> </html>