en.javascript.info/1-js/02-first-steps/10-ifelse/2-check-standard/task.md
2019-07-27 15:55:44 +03:00

13 lines
307 B
Markdown

importance: 2
---
# The name of JavaScript
Using the `if..else` construct, write the code which asks: 'What is the "official" name of JavaScript?'
If the visitor enters "ECMAScript", then output "Right!", otherwise -- output: "Didn't know? ECMAScript!"
![](ifelse_task2.svg)
[demo src="ifelse_task2"]