+ 11

Adding methods challenge in javascript

Is there sth. Special in case 4? this.price = this.price-this.price*(d/100) Should do the job but case 4 fails.

21st Oct 2020, 6:33 AM
Oma Falk
Oma Falk - avatar
6 Answers
+ 14
Corey Fleming đŸ»đŸ» Thanks a lot for information👍 Everything is fine now 👌
28th Oct 2020, 1:05 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 8
The same case with me as well? I would like to know where the problem is? Here is my attempt which I wrote on the basis of available test cases. I'm trying to do the task in all the ways I know.. but without success? Can't pass test case 4. ‱ https://code.sololearn.com/W27atgJQQ7Vy/?ref=app
25th Oct 2020, 6:15 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 7
Test case 4 fails for me too, don't know why tho.
21st Oct 2020, 6:54 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 3
What is this question about? Case 4 on what? The PRO-only challenges?
22nd Oct 2020, 6:57 AM
michal
+ 2
They just fixed it! Try it now
28th Oct 2020, 12:58 PM
Corey Fleming
Corey Fleming - avatar
- 5
Don’t test me. Try it. Try it, son. You’ll be cranium to asphalt in just 2 clock cycles.
23rd Oct 2020, 1:47 AM
SappyB
SappyB - avatar