$30
Lab No. Lab Manual Week Marks
4 Write a JavaScript Code for Array, Function, Date, and Time Demonstration
I. Write a JavaScript program to replace all the numbers with a specified number of a given array of integers.
II. Write a JavaScript program to converts a specified number to an array of digits.
III. Write a JavaScript program to remove specified elements from the left of a given array of elements.
IV. Write a JavaScript program to remove specified elements from the right of a given array of elements.
V. Write a JavaScript function to test whether a date is a weekend. Week 4 10
LAB -4