How to write an if statement in JavaScript?
Explanation
The if statement executes a code if a specified condition is true. If the condition is false, another specified statement can be executed. example: if (myScore == 10) { alert ('continue to next level at quizful.com') } else { alert ('continue learn this topic at quizful.com') }

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты