diff options
Diffstat (limited to 'files/pt-br/web/javascript/reference/operators/class/index.html')
| -rw-r--r-- | files/pt-br/web/javascript/reference/operators/class/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/pt-br/web/javascript/reference/operators/class/index.html b/files/pt-br/web/javascript/reference/operators/class/index.html index e3ab255c4a..f4d14852b3 100644 --- a/files/pt-br/web/javascript/reference/operators/class/index.html +++ b/files/pt-br/web/javascript/reference/operators/class/index.html @@ -32,8 +32,8 @@ translation_of: Web/JavaScript/Reference/Operators/class var Foo = class {}; // propriedade de construtor é opcional var Foo = class {}; // Re-declaração é permitida -typeof Foo; //returna "function" -typeof class {}; //returna "function" +typeof Foo; //retorna "function" +typeof class {}; //retorna "function" Foo instanceof Object; // true Foo instanceof Function; // true |
