Skip to content

Commit 79e2567

Browse files
authored
Merge pull request #777 from hexlet-basics/remove-replit
remove replit
2 parents 59e493a + 0061def commit 79e2567

File tree

179 files changed

+7
-319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+7
-319
lines changed

modules/10-basics/20-comments/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ theory: |
4141
console.log('I am the King');
4242
```
4343
44-
https://replit.com/@hexlet/helloworld
4544
4645
Estos comentarios generalmente se utilizan para la documentación del código, por ejemplo, en el caso de las funciones.
4746

modules/10-basics/20-comments/en/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ console.log('I am the King'); // For Lannisters!
2424
console.log('I am the King');
2525
```
2626

27-
https://replit.com/@hexlet/helloworld
28-
2927
Such comments usually clarify the purpose of pieces of code.

modules/10-basics/20-comments/es/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ Los *comentarios de varias líneas* comienzan con `/*` y terminan con `*/`.
3737
console.log('I am the King');
3838
```
3939

40-
https://replit.com/@hexlet/helloworld
41-
4240
Estos comentarios generalmente se utilizan para la documentación del código, por ejemplo, en el caso de las funciones.

modules/10-basics/20-comments/ru/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ console.log('I am the King'); // For Lannisters!
3737
console.log('I am the King');
3838
```
3939

40-
https://replit.com/@hexlet/helloworld
41-
4240
Такие комментарии, обычно, используют для документирования кода, например, функций.

modules/10-basics/40-instructions/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ theory: |
1111
console.log('Dracarys!');
1212
```
1313
14-
https://replit.com/@hexlet/js-basics-instructions
1514
1615
Al ejecutar este código, se mostrarán en pantalla las dos frases de forma secuencial:
1716

modules/10-basics/40-instructions/es/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ console.log('Mother of Dragons.');
77
console.log('Dracarys!');
88
```
99

10-
https://replit.com/@hexlet/js-basics-instructions
11-
1210
Al ejecutar este código, se mostrarán en pantalla las dos frases de forma secuencial:
1311

1412
<pre class='hexlet-basics-output'>

modules/10-basics/40-instructions/ru/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ console.log('Mother of Dragons.');
77
console.log('Dracarys!');
88
```
99

10-
https://replit.com/@hexlet/js-basics-instructions
11-
1210
При запуске этого кода, на экран последовательно выводятся два предложения:
1311

1412
<pre class='hexlet-basics-output'>

modules/10-basics/45-testing/description.es.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ theory: |
3030
3131
Expected es el valor esperado y Received es el valor que devolvió tu código.
3232
33-
Además de nuestras pruebas, es muy útil experimentar con el código en la consola del [navegador](https://developer.mozilla.org/es/docs/Tools/Consola_de_navegador). En cualquier situación en la que no entiendas algo o quieras probar diferentes formas de uso, no dudes en abrir la consola e ingresar el código allí. Sería ideal si ejecutas todo el código presente en las lecciones por tu cuenta. Además de la consola, es útil usar el servicio [repl.it](https://repl.it/languages/javascript).
33+
Además de nuestras pruebas, es muy útil experimentar con el código en la consola del [navegador](https://developer.mozilla.org/es/docs/Tools/Consola_de_navegador). En cualquier situación en la que no entiendas algo o quieras probar diferentes formas de uso, no dudes en abrir la consola e ingresar el código allí. Sería ideal si ejecutas todo el código presente en las lecciones por tu cuenta.
3434
3535
---
3636

modules/10-basics/45-testing/en/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ One of your tasks in the following lessons will be to write a function that perf
2424
"ello, World!"
2525
</pre>
2626

27-
In addition to our tests, it's very useful to experiment with code in the [browser console](https://developer.mozilla.org/en-US/docs/Tools/Browser_Console). When something isn't clear to you, or you want to experiment with code, feel free to do all of this in the console. Ideally, it's best to execute all the code given in the lessons on your own. In addition to the console, you can also use [repl.it](https://repl.it/languages/javascript).
27+
In addition to our tests, it's very useful to experiment with code in the [browser console](https://developer.mozilla.org/en-US/docs/Tools/Browser_Console). When something isn't clear to you, or you want to experiment with code, feel free to do all of this in the console.
2828

2929
Sometimes when creating a solution, it may seem that you have done everything correctly, but the system has got into a huff and won't accept your solution. Such cases are borderline impossible. Failed tests simply won't get as far as the site, they are automatically run after each change. In the vast majority of cases (all our projects have been run millions of times in total over many years) the error is in the solution code. It can be very imperceptible, maybe you used the wrong punctuation, or you used upper case instead of lower case, or you missed a comma. Other cases are more complicated. Maybe your solution works for one set of inputs, but not for another. So always read the instructions and test your output carefully. There will almost certainly be some sign of an error.
3030

modules/10-basics/45-testing/es/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Aquí tienes un ejemplo sencillo: en una de las futuras lecciones, tendrás que
2626

2727
Expected es el valor esperado y Received es el valor que devolvió tu código.
2828

29-
Además de nuestras pruebas, es muy útil experimentar con el código en la consola del [navegador](https://developer.mozilla.org/es/docs/Tools/Consola_de_navegador). En cualquier situación en la que no entiendas algo o quieras probar diferentes formas de uso, no dudes en abrir la consola e ingresar el código allí. Sería ideal si ejecutas todo el código presente en las lecciones por tu cuenta. Además de la consola, es útil usar el servicio [repl.it](https://repl.it/languages/javascript).
29+
Además de nuestras pruebas, es muy útil experimentar con el código en la consola del [navegador](https://developer.mozilla.org/es/docs/Tools/Consola_de_navegador). En cualquier situación en la que no entiendas algo o quieras probar diferentes formas de uso, no dudes en abrir la consola e ingresar el código allí.
3030

3131
---
3232

modules/10-basics/45-testing/ru/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
Expected – ожидаемое значение, а Received, то которое выдал ваш код.
2828

29-
Кроме наших тестов, будет крайне полезно экспериментировать с кодом в консоли [браузера](https://developer.mozilla.org/en-US/docs/Tools/Browser_Console). В любой ситуации, когда вы недопоняли, или хотите попробовать разные варианты использования, смело открывайте консоль и вводите туда код. Идеально, если вы выполните самостоятельно весь код, который присутствует в уроках. Кроме консоли, полезно использовать сервис [repl.it](https://repl.it/languages/javascript).
29+
Кроме наших тестов, будет крайне полезно экспериментировать с кодом в консоли [браузера](https://developer.mozilla.org/en-US/docs/Tools/Browser_Console). В любой ситуации, когда вы недопоняли, или хотите попробовать разные варианты использования, смело открывайте консоль и вводите туда код.
3030

3131
---
3232

modules/10-basics/50-syntax-errors/description.es.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ theory: |
1313
1414
Si ejecutamos el código anterior, veremos el siguiente mensaje: `SyntaxError: missing ) after argument list`, así como una indicación de la línea y el archivo donde se produjo este error. Estos errores de sintaxis en JavaScript se clasifican como SyntaxError.
1515
16-
*Por razones técnicas, este código ejecutado en https://code-basics.com no mostrará la línea y el archivo. Puede verificar esta salida en https://repl.it*
17-
18-
https://replit.com/@hexlet/js-basics-syntax-errors
19-
2016
Por un lado, los errores de SyntaxError son los más simples porque están relacionados exclusivamente con las reglas gramaticales de escritura de código, no con el significado del código en sí. Son fáciles de corregir: solamente necesitas encontrar la violación de las reglas gramaticales.
2117
2218
Por otro lado, el intérprete no siempre puede señalar claramente estas infracciones. Por lo tanto, a veces sucede que hay que colocar el paréntesis olvidado no donde indica precisamente el mensaje de error.

modules/10-basics/50-syntax-errors/en/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Here is an example of some code with a syntax error:
66
console.log('Hodor'
77
```
88
9-
If we run this code we will see the following message: `SyntaxError: missing ) after the argument list`. In JavaScript, these errors are labelled as "SyntaxError". For technical reasons, this code running on [code-basics] (https://code-basics.com) won't show a message with a line and file. You can check this output on [repl.it] (https://repl.it).
9+
If we run this code we will see the following message: `SyntaxError: missing ) after the argument list`. In JavaScript, these errors are labelled as "SyntaxError".
1010
1111
On the one hand, syntax errors are the most obvious because they deal with code grammar rules and have nothing to do with its logic. You can easily fix it once you find it.
1212

modules/10-basics/50-syntax-errors/es/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ console.log('Hodor'
99
1010
Si ejecutamos el código anterior, veremos el siguiente mensaje: `SyntaxError: missing ) after argument list`, así como una indicación de la línea y el archivo donde se produjo este error. Estos errores de sintaxis en JavaScript se clasifican como SyntaxError.
1111
12-
*Por razones técnicas, este código ejecutado en https://code-basics.com no mostrará la línea y el archivo. Puede verificar esta salida en https://repl.it*
13-
14-
https://replit.com/@hexlet/js-basics-syntax-errors
15-
1612
Por un lado, los errores de SyntaxError son los más simples porque están relacionados exclusivamente con las reglas gramaticales de escritura de código, no con el significado del código en sí. Son fáciles de corregir: solamente necesitas encontrar la violación de las reglas gramaticales.
1713
1814
Por otro lado, el intérprete no siempre puede señalar claramente estas infracciones. Por lo tanto, a veces sucede que hay que colocar el paréntesis olvidado no donde indica precisamente el mensaje de error.

modules/10-basics/50-syntax-errors/ru/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ console.log('Hodor'
99
1010
Если запустить код выше, то мы увидим следующее сообщение: `SyntaxError: missing ) after argument list`, а также указание на строку и файл, где возникла эта ошибка. Подобные синтаксические ошибки в JavaScript относятся к разряду SyntaxError.
1111
12-
*По техническим причинам, такой код, запущенный на https://code-basics.com не укажет на строку и файл. Проверить этот вывод можно на https://repl.it*
13-
14-
https://replit.com/@hexlet/js-basics-syntax-errors
15-
1612
С одной стороны, ошибки SyntaxError — самые простые, потому что они связаны исключительно с грамматическими правилами написания кода, а не с самим смыслом кода. Их легко исправить: нужно лишь найти нарушение в записи.
1713
1814
С другой стороны, интерпретатор не всегда может чётко указать на это нарушение. Поэтому бывает, что забытую скобку нужно поставить не туда, куда указывает сообщение об ошибке.

modules/20-arithmetics/20-basic/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ theory: |
4141
console.log(3 ** 2); // => 9
4242
```
4343
44-
https://replit.com/@hexlet/js-basics-arithmetics-basics
4544
4645
A veces, para mayor comodidad, mostraremos el resultado de la ejecución de las líneas de código en los comentarios, de esta manera: `=> RESULTADO`. Por ejemplo, `// => 4`.
4746

modules/20-arithmetics/20-basic/es/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ console.log(8 / 2); // => 4
3737
console.log(3 ** 2); // => 9
3838
```
3939

40-
https://replit.com/@hexlet/js-basics-arithmetics-basics
41-
4240
A veces, para mayor comodidad, mostraremos el resultado de la ejecución de las líneas de código en los comentarios, de esta manera: `=> RESULTADO`. Por ejemplo, `// => 4`.
4341

4442
La primera instrucción mostrará `4` en la pantalla (porque 8 / 2 es igual a 4), y la segunda instrucción mostrará 9 en la pantalla (porque 3<sup>2</sup> es igual a 9).

modules/20-arithmetics/20-basic/ru/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ console.log(8 / 2); // => 4
3737
console.log(3 ** 2); // => 9
3838
```
3939

40-
https://replit.com/@hexlet/js-basics-arithmetics-basics
41-
4240
Иногда для удобства мы будем показывать в комментариях результат запуска строчек кода, вот так: `=> РЕЗУЛЬТАТ`. Например, `// => 4`.
4341

4442
Первая инструкция выведет на экран `4` (потому что 8 / 2 это 4), а вторая инструкция выведет на экран 9 (потому что 3<sup>2</sup> это 9).

modules/20-arithmetics/25-operator/ru/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
console.log(8 + 2);
66
```
77

8-
https://replit.com/@hexlet/js-basics-arithmetics-operator
9-
108
В этом примере `+` — это **оператор**, а числа `8` и `2` — это **операнды**.
119

1210
В случае сложения у нас есть два операнда: один слева, другой справа от знака `+`. Операции, которые требуют наличия двух операндов, называются **бинарными**. Если пропустить хотя бы один операнд, например, `3 + ;`, то программа завершится с синтаксической ошибкой.

modules/20-arithmetics/30-composition/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ theory: |
1616
console.log(2 * 4 * 5 * 10);
1717
```
1818
19-
https://replit.com/@hexlet/js-basics-arithmetics-composition
2019
2120
Como puedes ver, las operaciones se pueden combinar entre sí, lo que nos permite calcular expresiones compuestas más complejas. Para entender cómo se realizan los cálculos dentro del intérprete, analicemos el ejemplo: `2 * 4 * 5 * 10`.
2221

modules/20-arithmetics/30-composition/en/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ console.log(2 * 4 * 5 * 10);
1111
```
1212

1313
As you can see, we can combine operations, which allows us to compute even more complex compound expressions. To visualize how calculations are done inside the interpreter, let's look at an example: `2 * 4 * 5 * 10`.
14-
15-
1614
1. First we calculate `2 * 4` and get `8 * 5 * 10`
1715
2. Then we calculate `8 * 5`, which gives us `40 * 10`
1816
3. Finally, do the last multiplication. The result will be `400`

modules/20-arithmetics/30-composition/es/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ Otra ejemplo:
1212
console.log(2 * 4 * 5 * 10);
1313
```
1414

15-
https://replit.com/@hexlet/js-basics-arithmetics-composition
16-
1715
Como puedes ver, las operaciones se pueden combinar entre sí, lo que nos permite calcular expresiones compuestas más complejas. Para entender cómo se realizan los cálculos dentro del intérprete, analicemos el ejemplo: `2 * 4 * 5 * 10`.
1816

1917
1. Primero se calcula `2 * 4` y se obtiene la expresión `8 * 5 * 10`.

modules/20-arithmetics/30-composition/ru/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ console.log(3 * 5 - 2); // => 13
1212
console.log(2 * 4 * 5 * 10);
1313
```
1414

15-
https://replit.com/@hexlet/js-basics-arithmetics-composition
16-
1715
Как видно, операции можно соединять друг с другом, получая возможность вычислять все более сложные составные выражения. Чтобы представить себе то, как происходят вычисления внутри интерпретатора, давайте разберем пример: `2 * 4 * 5 * 10`.
1816

1917
1. Сначала вычисляется `2 * 4` и получается выражение `8 * 5 * 10`.

modules/20-arithmetics/40-priority/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ theory: |
3131
console.log(((8 / 2) + 5) - (-3 / 2)); // => 10.5
3232
```
3333
34-
https://replit.com/@hexlet/js-basics-arithmetics#index.js
3534
3635
Recuerda: el código se escribe para las personas, porque son personas las que leerán el código y las máquinas solamente lo ejecutarán. Para las máquinas, el código es correcto o incorrecto, no hay código "más" o "menos" comprensible para ellas.
3736

modules/20-arithmetics/40-priority/es/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,4 @@ Después:
2727
console.log(((8 / 2) + 5) - (-3 / 2)); // => 10.5
2828
```
2929

30-
https://replit.com/@hexlet/js-basics-arithmetics#index.js
31-
3230
Recuerda: el código se escribe para las personas, porque son personas las que leerán el código y las máquinas solamente lo ejecutarán. Para las máquinas, el código es correcto o incorrecto, no hay código "más" o "menos" comprensible para ellas.

modules/20-arithmetics/40-priority/ru/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,4 @@ console.log(8 / 2 + 5 - -3 / 2); // => 10.5
2727
console.log(((8 / 2) + 5) - (-3 / 2)); // => 10.5
2828
```
2929

30-
https://replit.com/@hexlet/js-basics-arithmetics#index.js
31-
3230
Запомните: код пишется для людей, потому что код будут читать люди, а машины будут только исполнять его. Для машин код — или корректный, или не корректный, для них нет «более» понятного или «менее» понятного кода.

modules/20-arithmetics/60-infinity/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ theory: |
1010
console.log(1 / 0); // ?
1111
```
1212
13-
https://replit.com/@hexlet/js-basics-arithmetics-inifinity
1413
1514
Intenta ejecutar este código en tu navegador. ¡Se mostrará en pantalla `Infinity` (infinito)! Para aquellos que han estudiado matemáticas avanzadas (¡hola, cálculo!), esto no es sorprendente. La división por cero realmente da infinito. En JavaScript, el infinito es un número real con el que se pueden realizar diversas operaciones. En tareas cotidianas, esto tiene poco sentido, ya que la mayoría de las operaciones con infinito resultan en infinito, por ejemplo, al sumar cualquier número a infinito, aún obtendremos infinito.
1615

modules/20-arithmetics/60-infinity/es/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ En programación, es ampliamente conocido el error de "división por cero". En l
55
console.log(1 / 0); // ?
66
```
77

8-
https://replit.com/@hexlet/js-basics-arithmetics-inifinity
9-
108
Intenta ejecutar este código en tu navegador. ¡Se mostrará en pantalla `Infinity` (infinito)! Para aquellos que han estudiado matemáticas avanzadas (¡hola, cálculo!), esto no es sorprendente. La división por cero realmente da infinito. En JavaScript, el infinito es un número real con el que se pueden realizar diversas operaciones. En tareas cotidianas, esto tiene poco sentido, ya que la mayoría de las operaciones con infinito resultan en infinito, por ejemplo, al sumar cualquier número a infinito, aún obtendremos infinito.
119

1210
```javascript

modules/20-arithmetics/60-infinity/ru/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
console.log(1 / 0); // ?
66
```
77

8-
https://replit.com/@hexlet/js-basics-arithmetics-inifinity
9-
108
Попробуйте выполнить этот код в браузере. На экран выведется `Infinity` (бесконечность)! Для тех, кто изучал высшую математику (привет, матан!), в этом нет ничего удивительного. Деление на ноль действительно создает бесконечность. Бесконечность в JavaScript — самое настоящее число, с которым возможно проводить различные операции. В повседневных задачах смысла от этого мало, так как большинство операций с бесконечностью завершаются созданием бесконечности, например, при прибавлении любого числа к бесконечности мы все равно получим бесконечность.
119

1210
```javascript

modules/20-arithmetics/70-nan/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ theory: |
1515
NaN + 1; // NaN
1616
```
1717
18-
https://replit.com/@hexlet/js-basics-arithmetics-NaN
1918
2019
`NaN` es un valor interesante, aunque representa "no es un número", desde el punto de vista de los tipos, es considerado un número. Un paradoja. `NaN` nunca es un valor deseado y solamente aparece como resultado de errores. Si te encuentras con él, debes rastrear el momento en el que se realizó una operación no válida para los números y corregir ese espacio.
2120

modules/20-arithmetics/70-nan/es/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ Infinity / Infinity; // NaN
1010
NaN + 1; // NaN
1111
```
1212

13-
https://replit.com/@hexlet/js-basics-arithmetics-NaN
14-
1513
`NaN` es un valor interesante, aunque representa "no es un número", desde el punto de vista de los tipos, es considerado un número. Un paradoja. `NaN` nunca es un valor deseado y solamente aparece como resultado de errores. Si te encuentras con él, debes rastrear el momento en el que se realizó una operación no válida para los números y corregir ese espacio.

0 commit comments

Comments
 (0)