File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 47
47
- [ 38. O básico de Var, Let e Const] ( #38-o-básico-de-var-let-e-const )
48
48
- [ 39. Tipagem fraca] ( #39-tipagem-fraca )
49
49
- [ 40. Tipos em JavaScript: Number] ( #40-tipos-em-javascript-number )
50
+ - [ 41. Number: Alguns cuidados] ( #41-number-alguns-cuidados )
50
51
51
52
## Seção 1: Introdução Curso Desenvolvimento Web
52
53
@@ -393,4 +394,10 @@ console.log(Number);
393
394
394
395
[ Arquivo] ( fundamentos/numeros.js )
395
396
397
+ [ Commit] ( https://github.com/Alexandresl/Web-Moderno-com-JavaScript/commit/1e4e228d1b65ad8713d28ab5faeb8a4840268934 )
398
+
399
+ ### 41. Number: Alguns cuidados
400
+
401
+ [ Arquivo] ( fundamentos/numerosAlgunsCuidados.js )
402
+
396
403
[ Commit] ( )
Original file line number Diff line number Diff line change
1
+ console . log ( 7 / 0 ) ; // Infinity
2
+
3
+ console . log ( "10" / 2 ) ; // 5
4
+
5
+ console . log ( "Show!" * 2 ) ; // NaN
6
+
7
+ console . log ( 0.1 + 0.7 ) ; // 0.7999999999999999
8
+
9
+ console . log ( ( 10 ) . toString ( ) ) ; // 10 - Sem o parênteses não funciona
You can’t perform that action at this time.
0 commit comments