14 lines
308 B
Markdown
14 lines
308 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!"
|
|
|
|

|
|
|
|
[demo src="ifelse_task2"]
|
|
|