Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Make all countries in the following array follow the same formatting: // The first letter should be upper case, the rest lower case. Print

1. Make all countries in the following array follow the same formatting: // The first letter should be upper case, the rest lower case. Print the // result to the console.

var countries = ["AustraliA", "greece", "PERU", "ChInA"];

// 2. Get every second and third letter from each country and concatenate them. // Print the results to the console.

// 3. In the sentence below replace 'dart' with 'arrow' by using the indexOf // and slice functions.

java script

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Real Time Database And Information Systems Research Advances

Authors: Azer Bestavros ,Victor Fay-Wolfe

1st Edition

1461377803, 978-1461377801

More Books

Students also viewed these Databases questions

Question

Practice mobile reach in order to meet marketing goals.

Answered: 1 week ago

Question

b. Explain how you initially felt about the communication.

Answered: 1 week ago

Question

3. Identify the methods used within each of the three approaches.

Answered: 1 week ago

Question

a. When did your ancestors come to the United States?

Answered: 1 week ago