From b62a1377f1c685223c9cb37379d9aa9f1d07678b Mon Sep 17 00:00:00 2001 From: vsn4ik Date: Tue, 2 Feb 2016 22:02:26 +0300 Subject: [PATCH] Port #255 for en version --- 1-js/1-getting-started/1-intro/article.md | 4 ++-- .../12-ifelse/2-check-standard/ifelse_task2/index.html | 4 ++-- 1-js/2-first-steps/12-ifelse/2-check-standard/task.md | 4 ++-- 1-js/2-first-steps/4-strict-mode/article.md | 2 +- 1-js/4-data-structures/11-datetime/article.md | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/1-js/1-getting-started/1-intro/article.md b/1-js/1-getting-started/1-intro/article.md index f4c6219d..bbbcd8f5 100644 --- a/1-js/1-getting-started/1-intro/article.md +++ b/1-js/1-getting-started/1-intro/article.md @@ -147,9 +147,9 @@ But what's great -- eventually all browsers tend to follow the standard. There a The trend: browsers, though eager for new features, tend to be compatible with the standard. [/summary] -## New EcmaScript +## New ECMAScript -JavaScript evolves. The upcoming EcmaScript-2016 standard adds more language-level features which make the syntax more capable and expressive. +JavaScript evolves. The upcoming ECMAScript-2016 standard adds more language-level features which make the syntax more capable and expressive. Modern browsers improve their engines to raise JavaScript execution script, fix bugs and try to follow the standards. diff --git a/1-js/2-first-steps/12-ifelse/2-check-standard/ifelse_task2/index.html b/1-js/2-first-steps/12-ifelse/2-check-standard/ifelse_task2/index.html index 52a68f1d..818982f0 100644 --- a/1-js/2-first-steps/12-ifelse/2-check-standard/ifelse_task2/index.html +++ b/1-js/2-first-steps/12-ifelse/2-check-standard/ifelse_task2/index.html @@ -7,10 +7,10 @@ let value = prompt('What is the "official" name of JavaScript?', ''); - if (value == 'EcmaScript') { + if (value == 'ECMAScript') { alert('Right!'); } else { - alert("Didn't know? EcmaScript!"); + alert("Didn't know? ECMAScript!"); } diff --git a/1-js/2-first-steps/12-ifelse/2-check-standard/task.md b/1-js/2-first-steps/12-ifelse/2-check-standard/task.md index 10febfeb..6bbbb4bd 100644 --- a/1-js/2-first-steps/12-ifelse/2-check-standard/task.md +++ b/1-js/2-first-steps/12-ifelse/2-check-standard/task.md @@ -4,8 +4,8 @@ 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!" +If the visitor enters "ECMAScript", then output "Right!", otherwise -- output: "Didn't know? ECMAScript!" -[demo src="ifelse_task2"] \ No newline at end of file +[demo src="ifelse_task2"] diff --git a/1-js/2-first-steps/4-strict-mode/article.md b/1-js/2-first-steps/4-strict-mode/article.md index 4a3d9bda..09ed6727 100644 --- a/1-js/2-first-steps/4-strict-mode/article.md +++ b/1-js/2-first-steps/4-strict-mode/article.md @@ -4,7 +4,7 @@ For a long time JavaScript was evolving without compatibility issues. New featur That had the benefit of never breaking the existing code. But the back side is that any mistake or an imprefect decision made by JavaScript creators got stuck in the language forever. -It had been so before EcmaScript 5 (ES5) appeared which added new features to the language and modified some of the existing ones. +It had been so before ECMAScript 5 (ES5) appeared which added new features to the language and modified some of the existing ones. To keep the old code working, most modifications of the pre-existing features are off by default. One need to enable them explicitly with a special directive `"use strict"`. diff --git a/1-js/4-data-structures/11-datetime/article.md b/1-js/4-data-structures/11-datetime/article.md index e27bf680..8668cc89 100644 --- a/1-js/4-data-structures/11-datetime/article.md +++ b/1-js/4-data-structures/11-datetime/article.md @@ -482,7 +482,7 @@ alert( ms ); // 1327611110417 (число миллисекунд) [smart header="Формат дат для IE8-"] -До появления спецификации EcmaScript 5 формат не был стандартизован, и браузеры, включая IE8-, имели свои собственные форматы дат. Частично, эти форматы пересекаются. +До появления спецификации ECMAScript 5 формат не был стандартизован, и браузеры, включая IE8-, имели свои собственные форматы дат. Частично, эти форматы пересекаются. Например, код ниже работает везде, включая старые IE: