Assignment No.1
Assignment No.1
1
1 State the use of method in JavaScript with the help of suitable example.
5.Enlist & explain the use of any two Intrinsic JavaScript Functions.
11. Write a javascript program to check whether entered number is prime or not.
name, branch, year. Delete branch property and display remaining properties
of student object.
17. Write a JavaScript for loop that will iterate from 1 to 15. For each iteration, it
will check if the current number is odd or even and display a message to the
screen.
Sample Output :
“1 is odd”
“2 is even”
…………
………....
18. State the use of method in JavaScript with the help of suitable example.
19. State meaning of each token of the following statement and describe it :
(i) ++a;