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:
Matt Schlosser
2019-05-20 13:48:28 -06:00
committed by Randell Dawson
parent 727d55fb5f
commit c201e41564
6 changed files with 17 additions and 17 deletions

View File

@ -48,7 +48,7 @@ localeTitle: تحديث المخزون
// A helper method to return the index of a specified product (undefined if not found) // A helper method to return the index of a specified product (undefined if not found)
var getProductIndex = function (name) { var getProductIndex = function (name) {
for (var i = 0; i < this.length; i++) { 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; return i;
} }
} }
@ -131,7 +131,7 @@ localeTitle: تحديث المخزون
// All inventory must be accounted for or you're fired! // All inventory must be accounted for or you're fired!
var index; 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 var arrNeInvName = []; // Names of arr2's items
// Same as using two for loops, this takes care of increasing the number of stock quantity. // Same as using two for loops, this takes care of increasing the number of stock quantity.

View File

@ -49,7 +49,7 @@ localeTitle: 库存更新
// A helper method to return the index of a specified product (undefined if not found) // A helper method to return the index of a specified product (undefined if not found)
var getProductIndex = function (name) { var getProductIndex = function (name) {
for (var i = 0; i < this.length; i++) { 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; return i;
} }
} }
@ -133,7 +133,7 @@ localeTitle: 库存更新
// All inventory must be accounted for or you're fired! // All inventory must be accounted for or you're fired!
var index; 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 var arrNeInvName = []; // Names of arr2's items
// Same as using two for loops, this takes care of increasing the number of stock quantity. // Same as using two for loops, this takes care of increasing the number of stock quantity.

View File

@ -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) // A helper method to return the index of a specified product (undefined if not found)
var getProductIndex = function (name) { var getProductIndex = function (name) {
for (var i = 0; i < this.length; i++) { 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; return i;
} }
} }
@ -132,7 +132,7 @@ Return the completed inventory in alphabetical order.
// All inventory must be accounted for or you're fired! // All inventory must be accounted for or you're fired!
var index; 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 var arrNeInvName = []; // Names of arr2's items
// Same as using two for loops, this takes care of increasing the number of stock quantity. // Same as using two for loops, this takes care of increasing the number of stock quantity.

View File

@ -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) // A helper method to return the index of a specified product (undefined if not found)
var getProductIndex = function (name) { var getProductIndex = function (name) {
for (var i = 0; i < this.length; i++) { 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; 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! // All inventory must be accounted for or you're fired!
var index; 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 var arrNeInvName = []; // Names of arr2's items
// Same as using two for loops, this takes care of increasing the number of stock quantity. // Same as using two for loops, this takes care of increasing the number of stock quantity.

View File

@ -49,7 +49,7 @@ localeTitle: Обновление инвентаря
// A helper method to return the index of a specified product (undefined if not found) // A helper method to return the index of a specified product (undefined if not found)
var getProductIndex = function (name) { var getProductIndex = function (name) {
for (var i = 0; i < this.length; i++) { 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; return i;
} }
} }
@ -133,7 +133,7 @@ localeTitle: Обновление инвентаря
// All inventory must be accounted for or you're fired! // All inventory must be accounted for or you're fired!
var index; 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 var arrNeInvName = []; // Names of arr2's items
// Same as using two for loops, this takes care of increasing the number of stock quantity. // Same as using two for loops, this takes care of increasing the number of stock quantity.

View File

@ -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) // A helper method to return the index of a specified product (undefined if not found)
var getProductIndex = function (name) { var getProductIndex = function (name) {
for (var i = 0; i < this.length; i++) { 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; return i;
} }
} }
@ -133,7 +133,7 @@ Devuelve el inventario completado en orden alfabético.
// All inventory must be accounted for or you're fired! // All inventory must be accounted for or you're fired!
var index; 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 var arrNeInvName = []; // Names of arr2's items
// Same as using two for loops, this takes care of increasing the number of stock quantity. // Same as using two for loops, this takes care of increasing the number of stock quantity.