You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/01-getting-started/1-intro/article.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,11 @@ Por exemplo, o JavaScript no navegador é capaz de:
59
59
60
60
## O que o JavaScript no navegador não pode fazer?
61
61
62
+
<<<<<<< HEAD
62
63
As habilidades do JavaScript no navegador são limitadas por uma questão de segurança do usuário. O objetivo é evitar que uma página maléfica acesse informações privadas ou prejudique os dados do usuário.
64
+
=======
65
+
JavaScript's abilities in the browser are limited for the sake of a user's safety. The aim is to prevent an evil webpage from accessing private information or harming the user's data.
66
+
>>>>>>> 4541b7af7584014a676da731f6e8774da5e059f6
63
67
64
68
Exemplos de tais restrições incluem:
65
69
@@ -84,9 +88,15 @@ Esses limites não existem se o JavaScript for usado fora do navegador, por exem
84
88
Há pelo menos *três* grandes aspectos do JavaScript:
85
89
86
90
```compare
91
+
<<<<<<< HEAD
87
92
+ Integração total com HTML/CSS.
88
93
+ Coisas simples são feitas de forma simples.
89
94
+ Suporte para todos os principais navegadores e ativado por padrão.
95
+
=======
96
+
+ Full integration with HTML/CSS.
97
+
+ Simple things are done simply.
98
+
+ Supported by all major browsers and enabled by default.
99
+
>>>>>>> 4541b7af7584014a676da731f6e8774da5e059f6
90
100
```
91
101
JavaScript é a única tecnologia de navegador que combina estas três qualidades.
92
102
@@ -117,6 +127,12 @@ Há mais. Claro que, mesmo que usemos uma dessas linguagens transpiladas, també
117
127
118
128
## Resumo
119
129
130
+
<<<<<<< HEAD
120
131
- O JavaScript foi inicialmente criado como uma linguagem somente de navegador, mas agora é usado em muitos outros ambientes também.
121
132
- Hoje, o JavaScript tem uma posição única como a linguagem de navegador mais amplamente adotada, com integração total com HTML/CSS.
122
133
- Existem muitas linguagens que são "transpiladas" para JavaScript e que oferecem certas funcionalidades. Recomenda-se dar uma olhada nelas, pelo menos brevemente, depois de dominar o JavaScript.
134
+
=======
135
+
- JavaScript was initially created as a browser-only language, but it is now used in many other environments as well.
136
+
- Today, JavaScript has a unique position as the most widely-adopted browser language, fully integrated with HTML/CSS.
137
+
- There are many languages that get "transpiled" to JavaScript and provide certain features. It is recommended to take a look at them, at least briefly, after mastering JavaScript.
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/01-hello-world/article.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,11 @@ Os arquivos de script são anexados ao HTML com o atributo `src`:
73
73
<scriptsrc="/path/to/script.js"></script>
74
74
```
75
75
76
+
<<<<<<< HEAD
76
77
Aqui, `/path/to/script.js` é um caminho absoluto para o arquivo script (da raiz do site). Você também pode fornecer um caminho relativo a partir da página atual. Por exemplo, `src="script.js"` significaria um arquivo `"script.js"` na pasta atual.
78
+
=======
79
+
Here, `/path/to/script.js` is an absolute path to the script from the site root. One can also provide a relative path from the current page. For instance, `src="script.js"`, just like `src="./script.js"`, would mean a file `"script.js"` in the current folder.
80
+
>>>>>>> 4541b7af7584014a676da731f6e8774da5e059f6
77
81
78
82
Nós também podemos dar uma URL completa. Por exemplo:
Copy file name to clipboardExpand all lines: 1-js/05-data-types/03-string/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ Here's the full list:
81
81
| Character | Description |
82
82
|-----------|-------------|
83
83
|`\n`|New line|
84
-
|`\r`|Carriage return: not used alone. Windows text files use a combination of two characters `\r\n`to represent a line break. |
84
+
|`\r`|In Windows text files a combination of two characters `\r\n`represents a new break, while on non-Windows OS it's just `\n`. That's for historical reasons, most Windows software also understands `\n`. |
0 commit comments