Skip to content

remove replit #777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion modules/10-basics/20-comments/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ theory: |
console.log('I am the King');
```

https://replit.com/@hexlet/helloworld

Estos comentarios generalmente se utilizan para la documentación del código, por ejemplo, en el caso de las funciones.

Expand Down
2 changes: 0 additions & 2 deletions modules/10-basics/20-comments/en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@ console.log('I am the King'); // For Lannisters!
console.log('I am the King');
```

https://replit.com/@hexlet/helloworld

Such comments usually clarify the purpose of pieces of code.
2 changes: 0 additions & 2 deletions modules/10-basics/20-comments/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@ Los *comentarios de varias líneas* comienzan con `/*` y terminan con `*/`.
console.log('I am the King');
```

https://replit.com/@hexlet/helloworld

Estos comentarios generalmente se utilizan para la documentación del código, por ejemplo, en el caso de las funciones.
2 changes: 0 additions & 2 deletions modules/10-basics/20-comments/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@ console.log('I am the King'); // For Lannisters!
console.log('I am the King');
```

https://replit.com/@hexlet/helloworld

Такие комментарии, обычно, используют для документирования кода, например, функций.
1 change: 0 additions & 1 deletion modules/10-basics/40-instructions/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ theory: |
console.log('Dracarys!');
```

https://replit.com/@hexlet/js-basics-instructions

Al ejecutar este código, se mostrarán en pantalla las dos frases de forma secuencial:

Expand Down
2 changes: 0 additions & 2 deletions modules/10-basics/40-instructions/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ console.log('Mother of Dragons.');
console.log('Dracarys!');
```

https://replit.com/@hexlet/js-basics-instructions

Al ejecutar este código, se mostrarán en pantalla las dos frases de forma secuencial:

<pre class='hexlet-basics-output'>
Expand Down
2 changes: 0 additions & 2 deletions modules/10-basics/40-instructions/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ console.log('Mother of Dragons.');
console.log('Dracarys!');
```

https://replit.com/@hexlet/js-basics-instructions

При запуске этого кода, на экран последовательно выводятся два предложения:

<pre class='hexlet-basics-output'>
Expand Down
2 changes: 1 addition & 1 deletion modules/10-basics/45-testing/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ theory: |

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

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).
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.

---

Expand Down
2 changes: 1 addition & 1 deletion modules/10-basics/45-testing/en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ One of your tasks in the following lessons will be to write a function that perf
"ello, World!"
</pre>

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).
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.

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.

Expand Down
2 changes: 1 addition & 1 deletion modules/10-basics/45-testing/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Aquí tienes un ejemplo sencillo: en una de las futuras lecciones, tendrás que

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

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).
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í.

---

Expand Down
2 changes: 1 addition & 1 deletion modules/10-basics/45-testing/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

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

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

---

Expand Down
4 changes: 0 additions & 4 deletions modules/10-basics/50-syntax-errors/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ theory: |

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.

*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*

https://replit.com/@hexlet/js-basics-syntax-errors

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.

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.
Expand Down
2 changes: 1 addition & 1 deletion modules/10-basics/50-syntax-errors/en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Here is an example of some code with a syntax error:
console.log('Hodor'
```

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).
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".

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.

Expand Down
4 changes: 0 additions & 4 deletions modules/10-basics/50-syntax-errors/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ console.log('Hodor'

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.

*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*

https://replit.com/@hexlet/js-basics-syntax-errors

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.

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.
4 changes: 0 additions & 4 deletions modules/10-basics/50-syntax-errors/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ console.log('Hodor'

Если запустить код выше, то мы увидим следующее сообщение: `SyntaxError: missing ) after argument list`, а также указание на строку и файл, где возникла эта ошибка. Подобные синтаксические ошибки в JavaScript относятся к разряду SyntaxError.

*По техническим причинам, такой код, запущенный на https://code-basics.com не укажет на строку и файл. Проверить этот вывод можно на https://repl.it*

https://replit.com/@hexlet/js-basics-syntax-errors

С одной стороны, ошибки SyntaxError — самые простые, потому что они связаны исключительно с грамматическими правилами написания кода, а не с самим смыслом кода. Их легко исправить: нужно лишь найти нарушение в записи.

С другой стороны, интерпретатор не всегда может чётко указать на это нарушение. Поэтому бывает, что забытую скобку нужно поставить не туда, куда указывает сообщение об ошибке.
1 change: 0 additions & 1 deletion modules/20-arithmetics/20-basic/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ theory: |
console.log(3 ** 2); // => 9
```

https://replit.com/@hexlet/js-basics-arithmetics-basics

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`.

Expand Down
2 changes: 0 additions & 2 deletions modules/20-arithmetics/20-basic/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ console.log(8 / 2); // => 4
console.log(3 ** 2); // => 9
```

https://replit.com/@hexlet/js-basics-arithmetics-basics

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`.

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).
2 changes: 0 additions & 2 deletions modules/20-arithmetics/20-basic/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ console.log(8 / 2); // => 4
console.log(3 ** 2); // => 9
```

https://replit.com/@hexlet/js-basics-arithmetics-basics

Иногда для удобства мы будем показывать в комментариях результат запуска строчек кода, вот так: `=> РЕЗУЛЬТАТ`. Например, `// => 4`.

Первая инструкция выведет на экран `4` (потому что 8 / 2 это 4), а вторая инструкция выведет на экран 9 (потому что 3<sup>2</sup> это 9).
2 changes: 0 additions & 2 deletions modules/20-arithmetics/25-operator/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
console.log(8 + 2);
```

https://replit.com/@hexlet/js-basics-arithmetics-operator

В этом примере `+` — это **оператор**, а числа `8` и `2` — это **операнды**.

В случае сложения у нас есть два операнда: один слева, другой справа от знака `+`. Операции, которые требуют наличия двух операндов, называются **бинарными**. Если пропустить хотя бы один операнд, например, `3 + ;`, то программа завершится с синтаксической ошибкой.
Expand Down
1 change: 0 additions & 1 deletion modules/20-arithmetics/30-composition/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ theory: |
console.log(2 * 4 * 5 * 10);
```

https://replit.com/@hexlet/js-basics-arithmetics-composition

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`.

Expand Down
2 changes: 0 additions & 2 deletions modules/20-arithmetics/30-composition/en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ console.log(2 * 4 * 5 * 10);
```

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`.


1. First we calculate `2 * 4` and get `8 * 5 * 10`
2. Then we calculate `8 * 5`, which gives us `40 * 10`
3. Finally, do the last multiplication. The result will be `400`
Expand Down
2 changes: 0 additions & 2 deletions modules/20-arithmetics/30-composition/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ Otra ejemplo:
console.log(2 * 4 * 5 * 10);
```

https://replit.com/@hexlet/js-basics-arithmetics-composition

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`.

1. Primero se calcula `2 * 4` y se obtiene la expresión `8 * 5 * 10`.
Expand Down
2 changes: 0 additions & 2 deletions modules/20-arithmetics/30-composition/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ console.log(3 * 5 - 2); // => 13
console.log(2 * 4 * 5 * 10);
```

https://replit.com/@hexlet/js-basics-arithmetics-composition

Как видно, операции можно соединять друг с другом, получая возможность вычислять все более сложные составные выражения. Чтобы представить себе то, как происходят вычисления внутри интерпретатора, давайте разберем пример: `2 * 4 * 5 * 10`.

1. Сначала вычисляется `2 * 4` и получается выражение `8 * 5 * 10`.
Expand Down
1 change: 0 additions & 1 deletion modules/20-arithmetics/40-priority/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ theory: |
console.log(((8 / 2) + 5) - (-3 / 2)); // => 10.5
```

https://replit.com/@hexlet/js-basics-arithmetics#index.js

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.

Expand Down
2 changes: 0 additions & 2 deletions modules/20-arithmetics/40-priority/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@ Después:
console.log(((8 / 2) + 5) - (-3 / 2)); // => 10.5
```

https://replit.com/@hexlet/js-basics-arithmetics#index.js

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.
2 changes: 0 additions & 2 deletions modules/20-arithmetics/40-priority/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@ console.log(8 / 2 + 5 - -3 / 2); // => 10.5
console.log(((8 / 2) + 5) - (-3 / 2)); // => 10.5
```

https://replit.com/@hexlet/js-basics-arithmetics#index.js

Запомните: код пишется для людей, потому что код будут читать люди, а машины будут только исполнять его. Для машин код — или корректный, или не корректный, для них нет «более» понятного или «менее» понятного кода.
1 change: 0 additions & 1 deletion modules/20-arithmetics/60-infinity/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ theory: |
console.log(1 / 0); // ?
```

https://replit.com/@hexlet/js-basics-arithmetics-inifinity

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.

Expand Down
2 changes: 0 additions & 2 deletions modules/20-arithmetics/60-infinity/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ En programación, es ampliamente conocido el error de "división por cero". En l
console.log(1 / 0); // ?
```

https://replit.com/@hexlet/js-basics-arithmetics-inifinity

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.

```javascript
Expand Down
2 changes: 0 additions & 2 deletions modules/20-arithmetics/60-infinity/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
console.log(1 / 0); // ?
```

https://replit.com/@hexlet/js-basics-arithmetics-inifinity

Попробуйте выполнить этот код в браузере. На экран выведется `Infinity` (бесконечность)! Для тех, кто изучал высшую математику (привет, матан!), в этом нет ничего удивительного. Деление на ноль действительно создает бесконечность. Бесконечность в JavaScript — самое настоящее число, с которым возможно проводить различные операции. В повседневных задачах смысла от этого мало, так как большинство операций с бесконечностью завершаются созданием бесконечности, например, при прибавлении любого числа к бесконечности мы все равно получим бесконечность.

```javascript
Expand Down
1 change: 0 additions & 1 deletion modules/20-arithmetics/70-nan/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ theory: |
NaN + 1; // NaN
```

https://replit.com/@hexlet/js-basics-arithmetics-NaN

`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.

Expand Down
2 changes: 0 additions & 2 deletions modules/20-arithmetics/70-nan/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ Infinity / Infinity; // NaN
NaN + 1; // NaN
```

https://replit.com/@hexlet/js-basics-arithmetics-NaN

`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.
Loading