+ 1
Can You Make a Calculator with JavaScript?
Here is a Fun Little Challenge! Using JavaScript make a Calculator where the User Presses Two Numbers And then Gives him the Outcome of the Solution! Example: 10 x 7 = 70 Best Code I will Make a Shout-out Promoting all the CODES ON HIS CHANNEL! THANK YOU!
3 ответов
+ 4
https://code.sololearn.com/WuwzYd191Qsf/?ref=app
Instead of using an eval function in JS, I tried making things more complicated hahahaha
This challenge just made my day...
+ 1
alert(eval(prompt()));
https://code.sololearn.com/WGqhN3qQz9nF/?ref=app