logo

Crowdly

Є такий код:   function Auto(name) {   this.name = name;   this.speed = ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Є такий код:

 

function Auto(name) {

  this.name = name;

  this.speed = 0;

}

Замість трьох крапок напишіть код, який заносить метод move в прототип Auto:

 

 . . .  = function(speed) {

  this.speed += speed;

  alert( this.name + 'їде зі швидкістю ' + this.speed );

};
More questions like this

Want instant access to all verified answers on learn.ztu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!