Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
65d5e7b
switched number-to-string to const (#230)
cbonaudo Oct 18, 2018
cf34563
Replace var with const and let in accessing-array-values (#228)
AryanJ-NYC Oct 18, 2018
cb9017e
changes var to let in variables
Oct 21, 2018
f4cf028
Updating arrays to use const instead of var (#245)
keslert Oct 21, 2018
c1c8926
Revert "switched number-to-string to const" (#232)
AnshulMalik Oct 21, 2018
cf5d36e
Update 'string' and 'for-loop' problems to use 'const' and 'let', res…
AryanJ-NYC Oct 21, 2018
bbe6820
Updating objects to use const instead of var (#244)
keslert Oct 21, 2018
b0b8746
Update object-properties to use const instead of var (#243)
keslert Oct 21, 2018
dfb268c
Update revising-strings to use let instead of var (#242)
keslert Oct 21, 2018
d6163aa
Update string-length to use const instead of var (#241)
keslert Oct 21, 2018
63a3099
fix: 'var' to 'const' in array-filtering (#236)
EliasHjelm Oct 21, 2018
1cdc744
fix: change 'var' to 'let'/'const' in for-loops (#235)
EliasHjelm Oct 21, 2018
37716b4
fix: 'var' to 'const' in if-statement solution (#237)
EliasHjelm Oct 21, 2018
d22f00f
fix: 'var' to 'let' & 'const' in looping-through-arrays (#238)
EliasHjelm Oct 21, 2018
3f466d3
changes var to const in rounding-numbers (#253)
Oct 21, 2018
77ffba2
changes var to let in scope, fix indent(#247)
Oct 21, 2018
ec664fb
Update problem.md
Oct 22, 2018
7e180fa
Update problem_es.md
Oct 22, 2018
a51297a
Update problem_fr.md
Oct 22, 2018
4178d44
Update problem_it.md
Oct 22, 2018
db6d9b7
Update problem_ja.md
Oct 22, 2018
980324b
Update problem_ko.md
Oct 22, 2018
2d709f6
Update problem_nb-no.md
Oct 22, 2018
9cea4d1
Update problem_pt-br.md
Oct 22, 2018
d36a95d
Update problem_ru.md
Oct 22, 2018
c0c5427
Update problem_uk.md
Oct 22, 2018
8235a39
Update problem_zh-cn.md
Oct 22, 2018
f03e5c5
Update problem_zh-tw.md
Oct 22, 2018
cb94fb4
Merge pull request #246 from alexey-pd/variables_to_es6
ledsun Nov 16, 2018
1d86359
Merge pull request #254 from SgiobairOg/SgiobairOg-ES6-Strings
ledsun Dec 20, 2018
148bc71
update variable declaration for number-to-string problem
ccarruitero Jul 5, 2019
d247ab0
Merge pull request #264 from ccarruitero/number-to-string
ledsun Jul 11, 2019
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
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Here is an example:


```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -34,7 +34,7 @@ Create a file named `accessing-array-values.js`.

In that file, define array `food` :
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```


Expand Down
6 changes: 3 additions & 3 deletions problems/accessing-array-values/problem_es.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Se puede tener acceso a los elementos de un Array a través del número de índice.

El número de índice comienza en cero y finaliza en el valor de la propiedad longitud (length) del array, restándole uno.
El número de índice comienza en cero y finaliza en el valor de la propiedad longitud (length) del array, restándole uno.

A continuación, un ejemplo:

```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -33,7 +33,7 @@ Crea un archivo llamado `accediendo-valores-array.js`

En ese archivo, define un array llamado `food` :
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```

Usa `console.log()` para imprimir el `segundo` valor del array en la terminal.
Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Les index doivent être des nombres allant de zero à la longueur du tableaux mo
Voici un exemple :

```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand All @@ -31,7 +31,7 @@ Créez un fichier nommé `acces-valeurs-tableau.js`

Dans ce fichier, définissez un tableau `food` :
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```


Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_it.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Ecco un esempio:


```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -34,7 +34,7 @@ Crea un file dal nome `accessing-array-values.js`.

In questo file, definisci l'array `food` :
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```


Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
以下に例を示します...

```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -34,7 +34,7 @@ console.log(pets.1);

ファイルの中で、次の配列 `food` を定義します。
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```


Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -34,7 +34,7 @@ console.log(pets.1);

그 파일에서, `food`라는 배열을 정의합니다.
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```


Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_nb-no.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Indeksnummeret starter fra null opp til antallet verdier i arrayet, minus en.
Her er et eksempel:

```js
var dyr = ['katt', 'hund', 'rotte'];
const dyr = ['katt', 'hund', 'rotte'];

console.log(dyr[0]);
```
Expand Down Expand Up @@ -33,7 +33,7 @@ Lag en fil som heter `accessing-array-values.js`.

Definer et array `food` i den filen:
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```

Bruk `console.log()` til å skrive ut den `andre` verdien av det arrayet til skjermen.
Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_pt-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Aqui está um exemplo:


```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -34,7 +34,7 @@ Crie um arquivo chamado `accessing-array-values.js`.

Neste arquivo, defina o array `food` :
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```


Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -34,7 +34,7 @@

В этом файле объявите массив `food` :
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```


Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_uk.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Приклад:

```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -33,7 +33,7 @@ console.log(pets.1);

У цьому файлі створити масив 'food' :
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```

Використайте `console.log()`, щоб надрукувати 'другий' елемент масиву в терміналі.
Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
下面是一个例子:

```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -33,7 +33,7 @@ console.log(pets.1);

在文件中定义一个数组 `food`:
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```

使用 `console.log()` 打印数组的第二个值到终端。
Expand Down
4 changes: 2 additions & 2 deletions problems/accessing-array-values/problem_zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
下面是一個例子:

```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];

console.log(pets[0]);
```
Expand Down Expand Up @@ -33,7 +33,7 @@ console.log(pets.1);

在該檔案中定義一個陣列 `food`:
```js
var food = ['apple', 'pizza', 'pear'];
const food = ['apple', 'pizza', 'pear'];
```

使用 `console.log()` 印出陣列中的 `第二個` 值。
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ For this we can use the `.filter()` method.
Here is an example:

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Para esto podemos utilizar el método `.filter`.
Por ejemplo:

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Pour cela nous pouvons utiliser la méthode `.filter()`.
Voici un exemple :

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_it.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Per fare ciò possiamo utilizzare il metodo `.filter()`.
Ecco un esempio:

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
たとえば...

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
여기에 예제가 있습니다.

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_nb-no.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ For det kan vi bruke `.filter()` metoden.
Her er et eksempel:

```js
var dyr = ['katt', 'hund', 'elefant'];
const dyr = ['katt', 'hund', 'elefant'];

var filtrert = dyr.filter(function (ettDyr) {
const filtrert = dyr.filter(function (ettDyr) {
return (ettDyr !== 'elefant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_pt-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Para isso podemos usar o método `.filter()`.
Aqui está um exemplo:

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
Например:

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_uk.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
Приклад:

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
下面是一个例子:

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
4 changes: 2 additions & 2 deletions problems/array-filtering/problem_zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
下面是一個例子:

```js
var pets = ['cat', 'dog', 'elephant'];
const pets = ['cat', 'dog', 'elephant'];

var filtered = pets.filter(function (pet) {
const filtered = pets.filter(function (pet) {
return (pet !== 'elephant');
});
```
Expand Down
2 changes: 1 addition & 1 deletion problems/arrays/problem.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
An array is a list of values. Here's an example:

```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];
```

### The challenge:
Expand Down
2 changes: 1 addition & 1 deletion problems/arrays/problem_es.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Un array es una lista ordenada de elementos. Por ejemplo:

```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];
```

### El ejercicio:
Expand Down
2 changes: 1 addition & 1 deletion problems/arrays/problem_fr.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Un tableau est une liste de valeurs. Voici un exemple :

```js
var pets = ['cat', 'dog', 'rat'];
const pets = ['cat', 'dog', 'rat'];
```

### Le défi :
Expand Down
Loading