Assignment
Assignment
6) *
7) * *
8) * * *
9) * * * *
10) * * * * *
*
**
***
****
*****
6) Explain the term – Object Name, Property, Method, Dot syntax,
main event.
UNIT II [14 Marks]
Array, Function and String
1) Define array.
2) How to declare array in JavaScript.
3) Write a JavaScript for sorting the array elements
4) Explain the use of join () function with examples.
5) Explain the use of push and pop functions
6) Write a short note on – associative array in JavaScript.
7) Explain the method of calling a function from HTML.
8) Write a JavaScript to convert string to number.
9) Write a JavaScript function to count the number of vowels in a given
string.
10) Write a JavaScript code to remove element from array using
splice method?