chore(i8n,learn): processed translations (#41141)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
Randell Dawson
2021-02-16 15:21:30 -07:00
committed by GitHub
parent 785405fdfd
commit 4696b47c01
13 changed files with 73 additions and 73 deletions

View File

@ -15,7 +15,7 @@ HTML5 引入了一些新元素,其中包括无障碍特性,给予开发者
`main` 标签用于呈现网页的主体内容,且每个页面应只有一个。 这意味着它只应包含与页面中心主题相关的信息, 而不应包含如导航连接、网页横幅等需要在多个页面中重复出现的内容。 `main` 标签用于呈现网页的主体内容,且每个页面应只有一个。 这意味着它只应包含与页面中心主题相关的信息, 而不应包含如导航连接、网页横幅等需要在多个页面中重复出现的内容。
`main` 标签的语义化特性可以让辅助工具快速定位到页面的主体。 如果你在页面顶部看到“跳转到主内容”链接, 使用 main 标签可以自动让辅助设备实现这个功能。 `main` 标签的语义化特性可以让辅助工具快速定位到页面的主体。 如果你在页面顶部看到“跳转到主内容”链接,使用 `main` 标签可以自动让辅助设备提供那个功能。
# --instructions-- # --instructions--

View File

@ -51,13 +51,13 @@ assert($('.sr-only').css('position') == 'absolute');
assert($('.sr-only').css('left') == '-10000px'); assert($('.sr-only').css('left') == '-10000px');
``` ```
设置 `sr-only` class 的 `width` 属性值为`1` px 设置 `sr-only` class 的 `width` 属性值为 `1` 像素
```js ```js
assert(code.match(/width:\s*?1px/gi)); assert(code.match(/width:\s*?1px/gi));
``` ```
设置 `sr-only` class 的 `height` 属性值为 `1` px 设置 `sr-only` class 的 `height` 属性值为 `1` 像素
```js ```js
assert(code.match(/height:\s*?1px/gi)); assert(code.match(/height:\s*?1px/gi));

View File

@ -10,7 +10,7 @@ dashedName: exercise-tracker
构建一个 JavaScript 的全栈应用,在功能上与这个应用相似: <https://exercise-tracker.freecodecamp.rocks/>。 可以采用下面的一种方式完成这个挑战: 构建一个 JavaScript 的全栈应用,在功能上与这个应用相似: <https://exercise-tracker.freecodecamp.rocks/>。 可以采用下面的一种方式完成这个挑战:
- 克隆 [this GitHub repo](https://github.com/freeCodeCamp/boilerplate-project-exercisetracker/) 并在本地完成项目。 - 克隆 [GitHub 仓库](https://github.com/freeCodeCamp/boilerplate-project-exercisetracker/) 并在本地完成你的项目。
- 使用 [repl.it 初始化项目](https://repl.it/github/freeCodeCamp/boilerplate-project-exercisetracker) 来完成项目。 - 使用 [repl.it 初始化项目](https://repl.it/github/freeCodeCamp/boilerplate-project-exercisetracker) 来完成项目。
- 使用你选择的网站生成器来完成项目, 并确保包含了我们 GitHub 仓库的所有文件。 - 使用你选择的网站生成器来完成项目, 并确保包含了我们 GitHub 仓库的所有文件。

View File

@ -8,7 +8,7 @@ dashedName: serve-json-on-a-specific-route
# --description-- # --description--
HTML 服务器提供 HTML 服务,而 API 提供数据服务。 <dfn>具象状态传输</dfn>RESTREpresentational State TransferAPI 允许以简单的方式进行数据交换,对于客户端不必要知道服务器的细节。 客户只需要知道资源在哪里URL以及想执行的动作动词。 GET 动词常被用来获取无需修改的信息。 如今,网络上的移动数据首选格式是 JSON 简而言之JSON 是一种可以方便地用字符串表示 JavaScript 对象的方式,因此它很容易传输。 HTML 服务器提供 HTML 服务,而 API 提供数据服务。 <dfn>REST</dfn>REpresentational State TransferAPI 允许以简单的方式进行数据交换,对于客户端不必要知道服务器的细节。 客户只需要知道资源在哪里URL以及想执行的动作动词。 GET 动词常被用来获取无需修改的信息。 如今,网络上的移动数据首选格式是 JSON 简而言之JSON 是一种可以方便地用字符串表示 JavaScript 对象的方式,因此它很容易传输。
我们来创建一个简单的 API创建一个路径为 `/json` 且返回数据是 JSON 格式的路由, 可以像之前那样用 `app.get()` 方法来做。 然后在路由处理部分使用 `res.json()` 方法,并传入一个对象作为参数, 这个方法会结束请求响应循环request-response loop然后返回数据。 原来,一个有效的 JavaScript 对象会转化为字符串,然后会设置适当的消息头来告诉浏览器:“这是一个 JSON 数据”,最后将数据返回给客户端。 一个有效的对象通常是这种结构:`{key: data}` `data` 可以是数字、字符串、嵌套对象或数组, `data` 也可以是变量或者函数返回值,在这种情况下,它们先求值再转成字符串。 我们来创建一个简单的 API创建一个路径为 `/json` 且返回数据是 JSON 格式的路由, 可以像之前那样用 `app.get()` 方法来做。 然后在路由处理部分使用 `res.json()` 方法,并传入一个对象作为参数, 这个方法会结束请求响应循环request-response loop然后返回数据。 原来,一个有效的 JavaScript 对象会转化为字符串,然后会设置适当的消息头来告诉浏览器:“这是一个 JSON 数据”,最后将数据返回给客户端。 一个有效的对象通常是这种结构:`{key: data}` `data` 可以是数字、字符串、嵌套对象或数组, `data` 也可以是变量或者函数返回值,在这种情况下,它们先求值再转成字符串。

View File

@ -16,7 +16,7 @@ Hay varios métodos para seleccionar colores diferentes que resultan de una comb
Aquí hay tres colores creados usando el esquema de dividir-complemento: Aquí hay tres colores creados usando el esquema de dividir-complemento:
<table class='table table-striped'><thead><tr><th>Color</th><th>Código hexadecimal</th></tr></thead><thead></thead><tbody><tr><td>anaranjado</td><td>#F7F00</td></tr><tr><td>cian</td><td>#00FFFF</td></tr><tr><td>frambuesa</td><td>#FF007F</td></tr></tbody></table> <table class='table table-striped'><thead><tr><th>Color</th><th>Código hexadecimal</th></tr></thead><thead></thead><tbody><tr><td>anaranjado</td><td>#FF7F00</td></tr><tr><td>cian</td><td>#00FFFF</td></tr><tr><td>frambuesa</td><td>#FF007F</td></tr></tbody></table>
# --instructions-- # --instructions--

View File

@ -1,6 +1,6 @@
--- ---
id: a302f7aae1aa3152a5b413bc id: a302f7aae1aa3152a5b413bc
title: Factorialize a Number title: Factorializar un número
challengeType: 5 challengeType: 5
forumTopicId: 16013 forumTopicId: 16013
dashedName: factorialize-a-number dashedName: factorialize-a-number
@ -8,43 +8,43 @@ dashedName: factorialize-a-number
# --description-- # --description--
Return the factorial of the provided integer. Devuelve el factorial del entero proporcionado.
If the integer is represented with the letter n, a factorial is the product of all positive integers less than or equal to n. Si el entero está representado con la letra n, un factorial es el producto de todos los enteros positivos menores o iguales a n.
Factorials are often represented with the shorthand notation `n!` ¡Los factoriales suelen representarse con la abreviatura `n!`
For example: `5! = 1 * 2 * 3 * 4 * 5 = 120` Por ejemplo: `5! = 1 * 2 * 3 * 4 * 5 = 120`
Only integers greater than or equal to zero will be supplied to the function. Sólo se proporcionara a la función enteros mayores o igual a cero.
# --hints-- # --hints--
`factorialize(5)` should return a number. `factorialize(5)` debe devolver un número.
```js ```js
assert(typeof factorialize(5) === 'number'); assert(typeof factorialize(5) === 'number');
``` ```
`factorialize(5)` should return 120. `factorialize(5)` debe devolver 120.
```js ```js
assert(factorialize(5) === 120); assert(factorialize(5) === 120);
``` ```
`factorialize(10)` should return 3628800. `factorialize(10)` debe devolver 3628800.
```js ```js
assert(factorialize(10) === 3628800); assert(factorialize(10) === 3628800);
``` ```
`factorialize(20)` should return 2432902008176640000. `factorialize(20)` debe devolver 2432902008176640000.
```js ```js
assert(factorialize(20) === 2432902008176640000); assert(factorialize(20) === 2432902008176640000);
``` ```
`factorialize(0)` should return 1. `factorialize(0)` debe devolver 1.
```js ```js
assert(factorialize(0) === 1); assert(factorialize(0) === 1);

View File

@ -1,6 +1,6 @@
--- ---
id: a26cbbe9ad8655a977e1ceb5 id: a26cbbe9ad8655a977e1ceb5
title: Find the Longest Word in a String title: Encuentra la palabra más larga en una cadena
challengeType: 5 challengeType: 5
forumTopicId: 16015 forumTopicId: 16015
dashedName: find-the-longest-word-in-a-string dashedName: find-the-longest-word-in-a-string
@ -8,13 +8,13 @@ dashedName: find-the-longest-word-in-a-string
# --description-- # --description--
Return the length of the longest word in the provided sentence. Devuelve la longitud de la palabra más larga en la oración proporcionada.
Your response should be a number. Tu respuesta debe ser un número.
# --hints-- # --hints--
`findLongestWordLength("The quick brown fox jumped over the lazy dog")` should return a number. `findLongestWordLength("The quick brown fox jumped over the lazy dog")` debe devolver un número.
```js ```js
assert( assert(
@ -24,7 +24,7 @@ assert(
); );
``` ```
`findLongestWordLength("The quick brown fox jumped over the lazy dog")` should return 6. `findLongestWordLength("The quick brown fox jumped over the lazy dog")` debe devolver 6.
```js ```js
assert( assert(
@ -32,19 +32,19 @@ assert(
); );
``` ```
`findLongestWordLength("May the force be with you")` should return 5. `findLongestWordLength("May the force be with you")` debe devolver 5.
```js ```js
assert(findLongestWordLength('May the force be with you') === 5); assert(findLongestWordLength('May the force be with you') === 5);
``` ```
`findLongestWordLength("Google do a barrel roll")` should return 6. `findLongestWordLength("Google do a barrel roll")` debe devolver 6.
```js ```js
assert(findLongestWordLength('Google do a barrel roll') === 6); assert(findLongestWordLength('Google do a barrel roll') === 6);
``` ```
`findLongestWordLength("What is the average airspeed velocity of an unladen swallow")` should return 8. `findLongestWordLength("What is the average airspeed velocity of an unladen swallow")` debe devolver 8.
```js ```js
assert( assert(
@ -54,7 +54,7 @@ assert(
); );
``` ```
`findLongestWordLength("What if we try a super-long word such as otorhinolaryngology")` should return 19. `findLongestWordLength("What if we try a super-long word such as otorhinolaryngology")` debe devolver 19.
```js ```js
assert( assert(

View File

@ -1,6 +1,6 @@
--- ---
id: a6e40f1041b06c996f7b2406 id: a6e40f1041b06c996f7b2406
title: Finders Keepers title: Buscadores guardianes
challengeType: 5 challengeType: 5
forumTopicId: 16016 forumTopicId: 16016
dashedName: finders-keepers dashedName: finders-keepers
@ -8,11 +8,11 @@ dashedName: finders-keepers
# --description-- # --description--
Create a function that looks through an array `arr` and returns the first element in it that passes a 'truth test'. This means that given an element `x`, the 'truth test' is passed if `func(x)` is `true`. If no element passes the test, return `undefined`. Crea una función que recorra un arreglo `arr` y devuelva el primer elemento que pase un "detector de verdad". Esto significa que dado un elemento `x`, el "detector de verdad" es pasado si `func(x)` es `true`. Si ningún elemento pasa la prueba. la función debería devolver `undefined`.
# --hints-- # --hints--
`findElement([1, 3, 5, 8, 9, 10], function(num) { return num % 2 === 0; })` should return 8. `findElement([1, 3, 5, 8, 9, 10], function(num) { return num % 2 === 0; })` debería devolver 8.
```js ```js
assert.strictEqual( assert.strictEqual(
@ -23,7 +23,7 @@ assert.strictEqual(
); );
``` ```
`findElement([1, 3, 5, 9], function(num) { return num % 2 === 0; })` should return undefined. `findElement([1, 3, 5, 9], function(num) { return num % 2 === 0; })` debería devolver undefined.
```js ```js
assert.strictEqual( assert.strictEqual(

View File

@ -1,6 +1,6 @@
--- ---
id: afcc8d540bea9ea2669306b6 id: afcc8d540bea9ea2669306b6
title: Repeat a String Repeat a String title: Repetir una cadena repetir una cadena
challengeType: 5 challengeType: 5
forumTopicId: 16041 forumTopicId: 16041
dashedName: repeat-a-string-repeat-a-string dashedName: repeat-a-string-repeat-a-string
@ -8,53 +8,53 @@ dashedName: repeat-a-string-repeat-a-string
# --description-- # --description--
Repeat a given string `str` (first argument) for `num` times (second argument). Return an empty string if `num` is not a positive number. For the purpose of this challenge, do *not* use the built-in `.repeat()` method. Repita una cadena dada `str` (primer argumento) por `num` veces (segundo argumento). Retorne una cadena vacía si `num` no es un número positivo. Para este desafío, utiliza *not* el método `.repeat()` incorporado.
# --hints-- # --hints--
`repeatStringNumTimes("*", 3)` should return `"***"`. `repeatStringNumTimes("*", 3)` debe devolver `"***"`.
```js ```js
assert(repeatStringNumTimes('*', 3) === '***'); assert(repeatStringNumTimes('*', 3) === '***');
``` ```
`repeatStringNumTimes("abc", 3)` should return `"abcabcabc"`. `repeatStringNumTimes("abc", 3)` debe devolver `"abcabcabc"`.
```js ```js
assert(repeatStringNumTimes('abc', 3) === 'abcabcabc'); assert(repeatStringNumTimes('abc', 3) === 'abcabcabc');
``` ```
`repeatStringNumTimes("abc", 4)` should return `"abcabcabcabc"`. `repeatStringNumTimes("abc", 4)` debe devolver `"abcabcabcabc"`.
```js ```js
assert(repeatStringNumTimes('abc', 4) === 'abcabcabcabc'); assert(repeatStringNumTimes('abc', 4) === 'abcabcabcabc');
``` ```
`repeatStringNumTimes("abc", 1)` should return `"abc"`. `repeatStringNumTimes("abc", 1)` debe devolver `"abc"`.
```js ```js
assert(repeatStringNumTimes('abc', 1) === 'abc'); assert(repeatStringNumTimes('abc', 1) === 'abc');
``` ```
`repeatStringNumTimes("*", 8)` should return `"********"`. `repeatStringNumTimes("*", 8)` debe devolver `"********"`.
```js ```js
assert(repeatStringNumTimes('*', 8) === '********'); assert(repeatStringNumTimes('*', 8) === '********');
``` ```
`repeatStringNumTimes("abc", -2)` should return `""`. `repeatStringNumTimes("abc", -2)` debe devolver `""`.
```js ```js
assert(repeatStringNumTimes('abc', -2) === ''); assert(repeatStringNumTimes('abc', -2) === '');
``` ```
The built-in `repeat()` method should not be used. El método integrado `repeat()` no debe ser utilizado.
```js ```js
assert(!/\.repeat/g.test(code)); assert(!/\.repeat/g.test(code));
``` ```
`repeatStringNumTimes("abc", 0)` should return `""`. `repeatStringNumTimes("abc", 0)` debe devolver `""`.
```js ```js
assert(repeatStringNumTimes('abc', 0) === ''); assert(repeatStringNumTimes('abc', 0) === '');

View File

@ -1,6 +1,6 @@
--- ---
id: a789b3483989747d63b0e427 id: a789b3483989747d63b0e427
title: Return Largest Numbers in Arrays title: Devolver los números mayores del arreglo
challengeType: 5 challengeType: 5
forumTopicId: 16042 forumTopicId: 16042
dashedName: return-largest-numbers-in-arrays dashedName: return-largest-numbers-in-arrays
@ -8,13 +8,13 @@ dashedName: return-largest-numbers-in-arrays
# --description-- # --description--
Return an array consisting of the largest number from each provided sub-array. For simplicity, the provided array will contain exactly 4 sub-arrays. Devuelve un arreglo que consista en el mayor número de cada sub-arreglo dada. Por simplicidad, el arreglo dado contendrá exactamente 4 sub-arreglos.
Remember, you can iterate through an array with a simple for loop, and access each member with array syntax `arr[i]`. Recuerde, usted puede iterar con cada arreglo con un simple bucle for, y acceder a cada miembro del arreglo con la sintaxis `arr[i]`.
# --hints-- # --hints--
`largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]])` should return an array. `largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]])` debe devolver un arreglo.
```js ```js
assert( assert(
@ -27,7 +27,7 @@ assert(
); );
``` ```
`largestOfFour([[13, 27, 18, 26], [4, 5, 1, 3], [32, 35, 37, 39], [1000, 1001, 857, 1]])` should return `[27, 5, 39, 1001]`. `largestOfFour([[13, 27, 18, 26], [4, 5, 1, 3], [32, 35, 37, 39], [1000, 1001, 857, 1]])` debe devolver `[27, 5, 39, 1001]`.
```js ```js
assert.deepEqual( assert.deepEqual(
@ -41,7 +41,7 @@ assert.deepEqual(
); );
``` ```
`largestOfFour([[4, 9, 1, 3], [13, 35, 18, 26], [32, 35, 97, 39], [1000000, 1001, 857, 1]])` should return `[9, 35, 97, 1000000]`. `largestOfFour([[4, 9, 1, 3], [13, 35, 18, 26], [32, 35, 97, 39], [1000000, 1001, 857, 1]])` debe devolver`[9, 35, 97, 1000000]`.
```js ```js
assert.deepEqual( assert.deepEqual(
@ -55,7 +55,7 @@ assert.deepEqual(
); );
``` ```
`largestOfFour([[17, 23, 25, 12], [25, 7, 34, 48], [4, -10, 18, 21], [-72, -3, -17, -10]])` should return `[25, 48, 21, -3]`. `largestOfFour([[17, 23, 25, 12], [25, 7, 34, 48], [4, -10, 18, 21], [-72, -3, -17, -10]])` debe devolver `[25, 48, 21, -3]`.
```js ```js
assert.deepEqual( assert.deepEqual(

View File

@ -1,6 +1,6 @@
--- ---
id: a202eed8fc186c8434cb6d61 id: a202eed8fc186c8434cb6d61
title: Reverse a String title: Invertir una Cadena
challengeType: 5 challengeType: 5
forumTopicId: 16043 forumTopicId: 16043
dashedName: reverse-a-string dashedName: reverse-a-string
@ -8,33 +8,33 @@ dashedName: reverse-a-string
# --description-- # --description--
Reverse the provided string. Invertir la cadena provista.
You may need to turn the string into an array before you can reverse it. Es posible que necesites convertir la cadena en una matriz antes de poder invertirla.
Your result must be a string. Tu resultado deber ser una cadena.
# --hints-- # --hints--
`reverseString("hello")` should return a string. `reverseString("hello")` debería devolver una cadena.
```js ```js
assert(typeof reverseString('hello') === 'string'); assert(typeof reverseString('hello') === 'string');
``` ```
`reverseString("hello")` should become `"olleh"`. `reverseString("hello")` debería convertirse en `"olleh"`.
```js ```js
assert(reverseString('hello') === 'olleh'); assert(reverseString('hello') === 'olleh');
``` ```
`reverseString("Howdy")` should become `"ydwoH"`. `reverseString("Howdy")` debería convertirse en `"ydwoH"`.
```js ```js
assert(reverseString('Howdy') === 'ydwoH'); assert(reverseString('Howdy') === 'ydwoH');
``` ```
`reverseString("Greetings from Earth")` should return `"htraE morf sgniteerG"`. `reverseString("Greetings from Earth")` debería devolver `"htraE morf sgniteerG"`.
```js ```js
assert(reverseString('Greetings from Earth') === 'htraE morf sgniteerG'); assert(reverseString('Greetings from Earth') === 'htraE morf sgniteerG');

View File

@ -1,6 +1,6 @@
--- ---
id: 579e2a2c335b9d72dd32e05c id: 579e2a2c335b9d72dd32e05c
title: Slice and Splice title: Cortar y rebanar
challengeType: 5 challengeType: 5
forumTopicId: 301148 forumTopicId: 301148
dashedName: slice-and-splice dashedName: slice-and-splice
@ -8,29 +8,29 @@ dashedName: slice-and-splice
# --description-- # --description--
You are given two arrays and an index. Tienes dos arreglos y un índice.
Copy each element of the first array into the second array, in order. Copia cada elemento del primer arreglo en el segundo arreglo, en orden.
Begin inserting elements at index `n` of the second array. Comienza insertando elementos en el índice `n` del segundo arreglo.
Return the resulting array. The input arrays should remain the same after the function runs. Devuelve el arreglo resultante. Los arreglos de entrada deben permanecer iguales luego de que se ejecute la función.
# --hints-- # --hints--
`frankenSplice([1, 2, 3], [4, 5], 1)` should return `[4, 1, 2, 3, 5]`. `frankenSplice([1, 2, 3], [4, 5], 1)` debe devolver`[4, 1, 2, 3, 5]`.
```js ```js
assert.deepEqual(frankenSplice([1, 2, 3], [4, 5], 1), [4, 1, 2, 3, 5]); assert.deepEqual(frankenSplice([1, 2, 3], [4, 5], 1), [4, 1, 2, 3, 5]);
``` ```
`frankenSplice([1, 2], ["a", "b"], 1)` should return `["a", 1, 2, "b"]`. `frankenSplice([1, 2], ["a", "b"], 1)` debe devolver `["a", 1, 2, "b"]`.
```js ```js
assert.deepEqual(frankenSplice(testArr1, testArr2, 1), ['a', 1, 2, 'b']); assert.deepEqual(frankenSplice(testArr1, testArr2, 1), ['a', 1, 2, 'b']);
``` ```
`frankenSplice(["claw", "tentacle"], ["head", "shoulders", "knees", "toes"], 2)` should return `["head", "shoulders", "claw", "tentacle", "knees", "toes"]`. `frankenSplice(["claw", "tentacle"], ["head", "shoulders", "knees", "toes"], 2)` debe devolver `["head", "shoulders", "claw", "tentacle", "knees", "toes"]`.
```js ```js
assert.deepEqual( assert.deepEqual(
@ -43,20 +43,20 @@ assert.deepEqual(
); );
``` ```
All elements from the first array should be added to the second array in their original order. Todos los elementos del primer arreglo deben ser añadidos al segundo arreglo en su orden original.
```js ```js
assert.deepEqual(frankenSplice([1, 2, 3, 4], [], 0), [1, 2, 3, 4]); assert.deepEqual(frankenSplice([1, 2, 3, 4], [], 0), [1, 2, 3, 4]);
``` ```
The first array should remain the same after the function runs. El primer arreglo debe permanecer igual después de ejecutar la función.
```js ```js
frankenSplice(testArr1, testArr2, 1); frankenSplice(testArr1, testArr2, 1);
assert.deepEqual(testArr1, [1, 2]); assert.deepEqual(testArr1, [1, 2]);
``` ```
The second array should remain the same after the function runs. El segundo arreglo debe permanecer igual después de ejecutar la función.
```js ```js
frankenSplice(testArr1, testArr2, 1); frankenSplice(testArr1, testArr2, 1);

View File

@ -1,6 +1,6 @@
--- ---
id: ab6137d4e35944e21037b769 id: ab6137d4e35944e21037b769
title: Title Case a Sentence title: Haz que la primera letra de una palabra este en mayúscula
challengeType: 5 challengeType: 5
forumTopicId: 16088 forumTopicId: 16088
dashedName: title-case-a-sentence dashedName: title-case-a-sentence
@ -8,31 +8,31 @@ dashedName: title-case-a-sentence
# --description-- # --description--
Return the provided string with the first letter of each word capitalized. Make sure the rest of the word is in lower case. Devuelve la cadena proporcionada con la primera letra de cada palabra en mayúsculas. Asegúrese de que el resto de la palabra esté en minúsculas.
For the purpose of this exercise, you should also capitalize connecting words like "the" and "of". Para este ejercicio, también debes usar mayúsculas en los conectores como "the" y "of".
# --hints-- # --hints--
`titleCase("I'm a little tea pot")` should return a string. `titleCase("I'm a little tea pot")` debe devolver una cadena.
```js ```js
assert(typeof titleCase("I'm a little tea pot") === 'string'); assert(typeof titleCase("I'm a little tea pot") === 'string');
``` ```
`titleCase("I'm a little tea pot")` should return `I'm A Little Tea Pot`. `titleCase("I'm a little tea pot")` debe devolver `I'm A Little Tea Pot`.
```js ```js
assert(titleCase("I'm a little tea pot") === "I'm A Little Tea Pot"); assert(titleCase("I'm a little tea pot") === "I'm A Little Tea Pot");
``` ```
`titleCase("sHoRt AnD sToUt")` should return `Short And Stout`. `titleCase("sHoRt AnD sToUt")` debe devolver `Short And Stout`.
```js ```js
assert(titleCase('sHoRt AnD sToUt') === 'Short And Stout'); assert(titleCase('sHoRt AnD sToUt') === 'Short And Stout');
``` ```
`titleCase("HERE IS MY HANDLE HERE IS MY SPOUT")` should return `Here Is My Handle Here Is My Spout`. `titleCase("HERE IS MY HANDLE HERE IS MY SPOUT")` debe devolver `Here Is My Handle Here Is My Spout`.
```js ```js
assert( assert(