+ 3

Fill in the blanks to make this code run and print 60.

let car = { speed: 40, accelerate() { ____.speed += 10; } };

12th Jan 2019, 9:02 AM
TONGAHASINA
TONGAHASINA - avatar
12 Answers
+ 8
this car speed
16th Sep 2019, 11:16 AM
ISINGIZWE GASANA Aline
ISINGIZWE GASANA Aline - avatar
+ 3
let car = { speed: 40, accelerate() { this .speed += 10; } }; car .accelerate(); car.accelerate(); console.log(car. speed );
31st Jan 2019, 3:56 PM
Frederik Declercq
Frederik Declercq - avatar
+ 2
let car = { speed: 40, accelerate() { this .speed += 10; } }; car .accelerate(); car.accelerate(); console.log(car. speed );
5th Aug 2019, 1:48 PM
Aftab Ashraf
Aftab Ashraf - avatar
+ 2
let car = { speed: 40, accelerate() { this .speed += 10; } }; car .accelerate(); car.accelerate(); console.log(car. speed );
10th Feb 2020, 8:25 AM
Pranjal Singh
Pranjal Singh - avatar
+ 1
let car = { speed: 40, accelerate() { this.speed += 10; } car.accelerate(); console.log(car.speed); Enjoy
8th Aug 2019, 1:23 AM
Cheddad Zoher
+ 1
Fill in the blanks to make this code run and print 60. let car = { speed: 40, accelerate() { this .speed += 10; } }; car .accelerate(); car.accelerate(); console.log(car. speed );
24th Dec 2019, 9:22 AM
Rana Abid
Rana Abid - avatar
+ 1
let car = { speed: 40, accelerate() { this .speed += 10; } }; car .accelerate(); car.accelerate(); console.log(car. speed );
30th Apr 2020, 2:23 PM
Druide LEKOGHO
Druide LEKOGHO - avatar
0
let car = { speed: 40, accelerate() { this .speed += 10; } }; car .accelerate(); car.accelerate(); console.log(car. speed );
18th Mar 2020, 6:51 AM
Md. jahidul islam
Md. jahidul islam - avatar
0
let car = { speed: 40, accelerate() { this.speed += 10; } }; car.accelerate(); car.accelerate(); console.log(car.speed);
23rd May 2020, 7:33 PM
Pramod Vishwakarma
Pramod Vishwakarma - avatar
0
this.speed car. speed
17th Dec 2020, 7:59 PM
Turikumana Isaie
Turikumana Isaie - avatar
4th May 2021, 7:25 AM
Abdullah Alsalem
Abdullah Alsalem - avatar
0
Fill in the blanks to make this code run and print 60. let car = { speed: 40, accelerate() { this.speed += 10; } }; car.accelerate(); car.accelerate(); console.log(car.speed );
6th Mar 2023, 1:56 PM
Krishn Kant Sharma
Krishn Kant Sharma - avatar