Question: JavaScript and Security Lab exam 1 ( 2 0 2 2 - 2 0 2 3 ) Q 1 ) Write a function to receive

JavaScript and Security Lab exam 1(2022-2023) Q1) Write a function to receive an array of names, represented as strings and return another array having names whose length within the range of 5-15.(4 marks) Q2) Define an array of n (entered by user) objects called library in which each object represents a sample book, with two properties: title and author. The author property should be an object with two properties: firstName and lastName. Then, add (10 marks) A code to input values into this array. A function to print this array into an HTML document in the following format: Book title 1(using

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!