mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-07-31 03:50:32 +02:00
Sync pt with original js
This commit is contained in:
@@ -492,9 +492,6 @@ myNumber === myNumberObj; // = false
|
||||
if (0){
|
||||
// O código não vai executar, porque 0 é um valor falso.
|
||||
}
|
||||
if (Number(0)){
|
||||
// O código *vai* executar, porque `Number(0)` é um valor verdadeiro.
|
||||
}
|
||||
|
||||
// Entretanto, esses objetos encapsulados e as funções originais compartilham
|
||||
// um mesmo prototype, portanto você pode adicionar funcionalidades a uma string,
|
||||
|
Reference in New Issue
Block a user