Skip to content

Commit 1011be5

Browse files
XhmikosRTrott
authored andcommitted
Correct "JavaScript" case (#2659)
1 parent 65cf795 commit 1011be5

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

locale/en/blog/community/foundation-benefits-all.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Reunification of the Node.js developer community remains an important goal of
4040
the Foundation. But to have a successful project, we must also maintain focus
4141
on addressing the concerns of Node.js users and the ecosystem of vendors. If
4242
we succeed, Node.js will continue its meteoric rise as the defacto server side
43-
javascript platform, and everyone wins. If we get it wrong, we jeapordize the
43+
JavaScript platform, and everyone wins. If we get it wrong, we jeapordize the
4444
momentum and critical mass that's driven that growth, and everyone loses.
4545

4646
In the user community, enterprise adoption of Node.js has skyrocketed with an

locale/en/knowledge/getting-started/what-is-require.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ difficulty: 1
1010
layout: knowledge-post.hbs
1111
---
1212

13-
Node.js follows the CommonJS module system, and the builtin `require` function is the easiest way to include modules that exist in separate files. The basic functionality of `require` is that it reads a javascript file, executes the file, and then proceeds to return the `exports` object. An example module:
13+
Node.js follows the CommonJS module system, and the builtin `require` function is the easiest way to include modules that exist in separate files. The basic functionality of `require` is that it reads a JavaScript file, executes the file, and then proceeds to return the `exports` object. An example module:
1414

1515
```javascript
1616
console.log("evaluating example.js");

locale/en/knowledge/javascript-conventions/what-is-json.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ values, e.g. an Object.
2525
## Encoding and Decoding
2626

2727
JavaScript provides 2 methods for encoding data structures to json and
28-
encoding json back to javascript objects and arrays. They are both
28+
encoding json back to JavaScript objects and arrays. They are both
2929
available on the `JSON` object that is available in the global scope.
3030

31-
`JSON.stringify` takes a javascript object or array and returns a
31+
`JSON.stringify` takes a JavaScript object or array and returns a
3232
serialized string in the JSON format.
3333

3434
```js
@@ -45,7 +45,7 @@ console.log(jsonStr);
4545
// prints '{"name":"John Doe","age":32,"title":"Vice President of JavaScript"}'
4646
```
4747

48-
`JSON.parse` takes a JSON string and decodes it to a javascript data
48+
`JSON.parse` takes a JSON string and decodes it to a JavaScript data
4949
structure.
5050

5151
```js
@@ -118,7 +118,7 @@ try/catch block.
118118
Notice that the only complex values allowed in JSON are objects and
119119
arrays. Functions, dates and other types are excluded. This may not
120120
seem to make sense at first. But remember that JSON is a data format,
121-
not a format for transferring complex javascript objects along with
121+
not a format for transferring complex JavaScript objects along with
122122
their functionality.
123123

124124
## JSON Validators
@@ -131,8 +131,8 @@ As JSON has become the most widely used data formate with well-defined rules to
131131

132132
## JSON in other languages
133133

134-
Although JSON was inspired by the simplicity of javascript data
135-
structures, it's use is not limited to the javascript language. Many
134+
Although JSON was inspired by the simplicity of JavaScript data
135+
structures, it's use is not limited to the JavaScript language. Many
136136
other languages have methods of transferring native hashes and lists
137137
into stringified JSON objects. Here's a quick example in ruby.
138138

locale/en/knowledge/javascript-conventions/what-is-the-arguments-object.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ layout: knowledge-post.hbs
1212

1313
The `arguments` object is a special construct available inside all
1414
function calls. It represents the list of arguments that were passed
15-
in when invoking the function. Since javascript allows functions to be
15+
in when invoking the function. Since JavaScript allows functions to be
1616
called with any number args, we need a way to dynamically discover and
1717
access them.
1818

@@ -33,7 +33,7 @@ const myfunc = function(one) {
3333
myfunc(1, 2, 3);
3434
```
3535

36-
This construct is very useful and gives javascript functions a lot of
36+
This construct is very useful and gives JavaScript functions a lot of
3737
flexibility. But there is an important gotcha. The `arguments` object
3838
behaves like an array, but it is not an actual array. It does not have
3939
Array in its prototype chain and it does not respond to any array

locale/pt-br/knowledge/getting-started/what-is-require.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ difficulty: 1
1010
layout: knowledge-post.hbs
1111
---
1212

13-
O Node.js segue o sistema de módulos CommomJS, e a função nativa `require` é a forma mais fácil de incluir módulos que existem em arquivos separados. A funcionalidade básica do `require` é que ele lê um arquivo javascript, executa o arquivo e então retorna o objeto `exports`. Um exemplo de módulo:
13+
O Node.js segue o sistema de módulos CommomJS, e a função nativa `require` é a forma mais fácil de incluir módulos que existem em arquivos separados. A funcionalidade básica do `require` é que ele lê um arquivo JavaScript, executa o arquivo e então retorna o objeto `exports`. Um exemplo de módulo:
1414

1515
```javascript
1616
console.log("evaluating example.js");

locale/pt-br/knowledge/javascript-conventions/what-is-json.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ Objeto.
2525
## Codificação e Decodificação
2626

2727
O JavaScript fornece 2 métodos. Um para codificar estrutura de dados para JSON
28-
e o outro para decodificar JSON para objetos e arrays javascript.
28+
e o outro para decodificar JSON para objetos e arrays JavaScript.
2929
Ambos estão disponíveis no objeto `JSON` que existe no escopo
3030
global.
3131

32-
`JSON.stringify` recebe um objeto ou um array javascript e retorna uma string
32+
`JSON.stringify` recebe um objeto ou um array JavaScript e retorna uma string
3333
serializada no formato JSON.
3434

3535
```js
@@ -46,7 +46,7 @@ console.log(jsonStr);
4646
// imprime '{"nome":"John Doe","idade":32,"titulo":"Vice Presidente do JavaScript"}'
4747
```
4848

49-
`JSON.parse` recebe uma string JSON e decodifica para um dado javascript
49+
`JSON.parse` recebe uma string JSON e decodifica para um dado JavaScript
5050
estruturado.
5151

5252
```js
@@ -127,7 +127,7 @@ você pode antecipar os erros encapsulando a chamada em um bloco try/catch.
127127
Observe que os únicos valores complexos permitidos em JSON são objetos e
128128
arrays. Funções, datas e outros tipos são excluídos. Isso pode não
129129
parecer fazer sentido no começo. Mas lembre-se que o JSON é um formato de dados,
130-
não um formato para transferir objetos javascript complexos junto com
130+
não um formato para transferir objetos JavaScript complexos junto com
131131
sua funcionalidade.
132132

133133
## Validadores JSON
@@ -143,7 +143,7 @@ Como o JSON se tornou o formato de dados mais amplamente usado, com regras bem d
143143
## JSON em outras linguagens
144144

145145
Embora o JSON tenha sido inspirado pela simplicidade dos dados estruturados do
146-
javascript, o seu uso não se limita à linguagem javascript. Muitas
146+
JavaScript, o seu uso não se limita à linguagem JavaScript. Muitas
147147
outras linguagens têm métodos de transferência de hashes e listas nativas
148148
em objetos JSON stringificados. Aqui está um exemplo rápido em ruby.
149149

0 commit comments

Comments
 (0)