freeCodeCamp | Advanced Front End Development Projects | Build a JavaScript Calculator | Part 3

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

So I am looking at your answer function. I am trying to understand how you can add a place holder like x without making it a variable?This function is not with in the scope of your first function where you use x. Thanks for the videos they do help explain a lot.

sundriedarizona
Автор

Good. But this way you will be able to add dots and logical operands as first characters. Also after adding dot or logical operands you could also add one right next to them. It is alright, it does the job if you use it properly. Some regex or filtering could do the job. Great work! Keep it up

Randomisticful
Автор

How do u fix the divided by 0 = infinity? I'd rather have it say NaN or "You can't divide by 0"

briannock
join shbcf.ru