GinaMae2063 GinaMae2063
  • 23-07-2020
  • Computers and Technology
contestada

What is displayed by the alert dialog box after the following code executes? var name = "Donny,Duck"; var index = name.indexOf(","); var lastName = name.substr(index + 1, name.length - 1);; alert("Last name: " + lastName);

Respuesta :

mahamnasir
mahamnasir mahamnasir
  • 27-07-2020

Answer:

Last name: Duck

Explanation:

explanation is provided in the attached document.

Ver imagen mahamnasir
Answer Link

Otras preguntas

seven less than the product of twice a number is greater than 5 more the same number which integer satisfies this inequality
Why did William Pitt The Younger introduce the Reign of Terror?
how to solve 2/3 of 2/3
Which substance below will exhibit hydrogen bonding between the molecules of the substance? a. CH₄ b. HBr c. HCl d. H₂O e. H₂
what is the degree measure of the acute angle formed by the hands of a 12-hour clock that reads exactly 1 o'clock?
If V = 12R / (r + R) , then R =
how can we solve water pollution?
what is the answer for 6r^2-10r-24
The lengths of the legs of a right triangle are 15 cm and 20 cm. What is the length of the hypotenuse?   A.
what is 3/14 divided by 4/7? Answers: A 3/8 B 12/21 C 2 and 2/3 D 3/4