typo: Remove errors within a challenge solution (#36097)
* Remove random links from code Seems that these got added by accident. * Remove errors from solution in Portuguese version * Remove errors from solution in Spanish version * Remove errors from solution in Russian version * Remove errors from solution in Arabic version * Remove errors from solution in Chinese version
This commit is contained in:
committed by
Randell Dawson
parent
727d55fb5f
commit
c201e41564
@ -48,7 +48,7 @@ localeTitle: تحديث المخزون
|
||||
// A helper method to return the index of a specified product (undefined if not found)
|
||||
var getProductIndex = function (name) {
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
if (this<a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>i][1] === name) {
|
||||
if (this[i][1] === name) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
@ -131,7 +131,7 @@ localeTitle: تحديث المخزون
|
||||
// All inventory must be accounted for or you're fired!
|
||||
|
||||
var index;
|
||||
var arrCurInvName = <a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>]; // Names of arr1's items
|
||||
var arrCurInvName = []; // Names of arr1's items
|
||||
var arrNeInvName = []; // Names of arr2's items
|
||||
|
||||
// Same as using two for loops, this takes care of increasing the number of stock quantity.
|
||||
@ -288,4 +288,4 @@ localeTitle: تحديث المخزون
|
||||
* تصنيف الحل في واحدة من الفئات التالية - **الأساسي** **والمتوسط** **والمتقدم** . 
|
||||
* الرجاء إضافة اسم المستخدم الخاص بك فقط إذا قمت بإضافة أي **محتويات رئيسية ذات صلة** . (  **_لا_** _تزيل أي أسماء مستخدمين حالية_ )
|
||||
|
||||
> نرى  [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) كمرجع.
|
||||
> نرى  [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) كمرجع.
|
||||
|
@ -49,7 +49,7 @@ localeTitle: 库存更新
|
||||
// A helper method to return the index of a specified product (undefined if not found)
|
||||
var getProductIndex = function (name) {
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
if (this<a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>i][1] === name) {
|
||||
if (this[i][1] === name) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
@ -133,7 +133,7 @@ localeTitle: 库存更新
|
||||
// All inventory must be accounted for or you're fired!
|
||||
|
||||
var index;
|
||||
var arrCurInvName = <a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>]; // Names of arr1's items
|
||||
var arrCurInvName = []; // Names of arr1's items
|
||||
var arrNeInvName = []; // Names of arr2's items
|
||||
|
||||
// Same as using two for loops, this takes care of increasing the number of stock quantity.
|
||||
@ -291,4 +291,4 @@ localeTitle: 库存更新
|
||||
* 将解决方案分为以下类别之一 - **基本** , **中级**和**高级** 。 
|
||||
* 如果您添加了任何**相关的主要内容,**请仅添加您的用户名。 (  **_不要_** _删除任何现有的用户名_ )
|
||||
|
||||
> 看到 [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272)供参考。
|
||||
> 看到 [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272)供参考。
|
||||
|
@ -48,7 +48,7 @@ Return the completed inventory in alphabetical order.
|
||||
// A helper method to return the index of a specified product (undefined if not found)
|
||||
var getProductIndex = function (name) {
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
if (this<a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>i][1] === name) {
|
||||
if (this[i][1] === name) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
@ -132,7 +132,7 @@ Return the completed inventory in alphabetical order.
|
||||
// All inventory must be accounted for or you're fired!
|
||||
|
||||
var index;
|
||||
var arrCurInvName = <a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>]; // Names of arr1's items
|
||||
var arrCurInvName = []; // Names of arr1's items
|
||||
var arrNeInvName = []; // Names of arr2's items
|
||||
|
||||
// Same as using two for loops, this takes care of increasing the number of stock quantity.
|
||||
|
@ -49,7 +49,7 @@ Retorne o inventário completo em ordem alfabética.
|
||||
// A helper method to return the index of a specified product (undefined if not found)
|
||||
var getProductIndex = function (name) {
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
if (this<a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>i][1] === name) {
|
||||
if (this[i][1] === name) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
@ -133,7 +133,7 @@ Retorne o inventário completo em ordem alfabética.
|
||||
// All inventory must be accounted for or you're fired!
|
||||
|
||||
var index;
|
||||
var arrCurInvName = <a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>]; // Names of arr1's items
|
||||
var arrCurInvName = []; // Names of arr1's items
|
||||
var arrNeInvName = []; // Names of arr2's items
|
||||
|
||||
// Same as using two for loops, this takes care of increasing the number of stock quantity.
|
||||
@ -291,4 +291,4 @@ Retorne o inventário completo em ordem alfabética.
|
||||
* Categorize a solução em uma das seguintes categorias - **Básica** , **Intermediária** e **Avançada** . 
|
||||
* Por favor, adicione seu nome de usuário somente se você adicionou qualquer **conteúdo principal relevante** . (  **_NÃO_** _remova nenhum nome de usuário existente_ )
|
||||
|
||||
> Vejo  [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) para referência.
|
||||
> Vejo  [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) para referência.
|
||||
|
@ -49,7 +49,7 @@ localeTitle: Обновление инвентаря
|
||||
// A helper method to return the index of a specified product (undefined if not found)
|
||||
var getProductIndex = function (name) {
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
if (this<a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>i][1] === name) {
|
||||
if (this[i][1] === name) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
@ -133,7 +133,7 @@ localeTitle: Обновление инвентаря
|
||||
// All inventory must be accounted for or you're fired!
|
||||
|
||||
var index;
|
||||
var arrCurInvName = <a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>]; // Names of arr1's items
|
||||
var arrCurInvName = []; // Names of arr1's items
|
||||
var arrNeInvName = []; // Names of arr2's items
|
||||
|
||||
// Same as using two for loops, this takes care of increasing the number of stock quantity.
|
||||
@ -291,4 +291,4 @@ localeTitle: Обновление инвентаря
|
||||
* Классифицируйте решение в одной из следующих категорий - **Basic** , **Intermediate** и **Advanced** . 
|
||||
* Пожалуйста, добавьте свое имя пользователя, только если вы добавили **соответствующее основное содержимое** . (  **_НЕ_** _удаляйте существующие имена пользователей_ )
|
||||
|
||||
> Видеть  [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) для [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) для справки.
|
||||
> Видеть  [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) для [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) для справки.
|
||||
|
@ -49,7 +49,7 @@ Devuelve el inventario completado en orden alfabético.
|
||||
// A helper method to return the index of a specified product (undefined if not found)
|
||||
var getProductIndex = function (name) {
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
if (this<a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>i][1] === name) {
|
||||
if (this[i][1] === name) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
@ -133,7 +133,7 @@ Devuelve el inventario completado en orden alfabético.
|
||||
// All inventory must be accounted for or you're fired!
|
||||
|
||||
var index;
|
||||
var arrCurInvName = <a href='https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=3 ":rocket:"' target='_blank' rel='nofollow'>]; // Names of arr1's items
|
||||
var arrCurInvName = []; // Names of arr1's items
|
||||
var arrNeInvName = []; // Names of arr2's items
|
||||
|
||||
// Same as using two for loops, this takes care of increasing the number of stock quantity.
|
||||
@ -291,4 +291,4 @@ Devuelve el inventario completado en orden alfabético.
|
||||
* Categorice la solución en una de las siguientes categorías: **Básica** , **Intermedia** y **Avanzada** . 
|
||||
* Agregue su nombre de usuario solo si ha agregado algún **contenido principal relevante** . (  **_NO_** _elimine ningún nombre de usuario existente_ )
|
||||
|
||||
> Ver  [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) para referencia.
|
||||
> Ver  [**`Wiki Challenge Solution Template`**](http://forum.freecodecamp.com/t/algorithm-article-template/14272) para referencia.
|
||||
|
Reference in New Issue
Block a user