Question: Write the javascript code that satisfy the following flow. 1. Declare a variable named toolbox and initialize it with 5 kitchen tool names. 2. Add

 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" and initialize it with 5 kitchen tool names. 2. Add a new kitchen tool to beginnning of the toolbox". This will be the first element 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. Find the number of occurance of "en" string using the loops, and then write this number to the document

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!