Question: Write the javascript code that satisfy the following flow. 1. Declare a variable named toolbox. Using the loops, generate 5 random numbers between 10 and

 Write the javascript code that satisfy the following flow. 1. Declare

Write the javascript code that satisfy the following flow. 1. Declare a variable named "toolbox". Using the loops, generate 5 random numbers between 10 and 30 and add each generated number as an element to the array "toolbox". 2. Remove the first item in the "toolbox". 3. Find and write the number of items in the toolbox to the console window as a log item. 4. Concatenate all toolbox items into a string using the seperator *** Assign this new string into a variable named "toolString". 5. Get the datetime of now and append this datetime to the end of the "toolString" in format of ISOString ("2020- 11-19T12:36:01.347Z" format)

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!