diff options
author | Matheus Felipe <50463866+matheusfelipeog@users.noreply.github.com> | 2021-09-06 07:46:41 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 07:46:41 -0300 |
commit | ff15e541c61feb0b8089981ab869e50e1506b918 (patch) | |
tree | 85078d2e096d3d3fbbfeb39147c2f36d17e43305 /files/pt-br/web/api/console/time/index.html | |
parent | 7a81eb11fc15e0e333f59d04aaa48e5a2dc9acd8 (diff) | |
download | translated-content-ff15e541c61feb0b8089981ab869e50e1506b918.tar.gz translated-content-ff15e541c61feb0b8089981ab869e50e1506b918.tar.bz2 translated-content-ff15e541c61feb0b8089981ab869e50e1506b918.zip |
Fixed parameters of console.time and console.timeEnd (#2273)
* Update index.html
* Fix param of console.time method
* Fix param of console.timeEnd method
Diffstat (limited to 'files/pt-br/web/api/console/time/index.html')
-rw-r--r-- | files/pt-br/web/api/console/time/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/pt-br/web/api/console/time/index.html b/files/pt-br/web/api/console/time/index.html index a246f83984..a63c85d0b7 100644 --- a/files/pt-br/web/api/console/time/index.html +++ b/files/pt-br/web/api/console/time/index.html @@ -15,13 +15,13 @@ translation_of: Web/API/Console/time <h2 id="Syntax" name="Syntax">Sintaxe</h2> -<pre class="syntaxbox">console.time(<em>cronometroNome</em>); +<pre class="syntaxbox">console.time(<em>label</em>); </pre> <h2 id="Parâmetros">Parâmetros</h2> <dl> - <dt><code>cronometroNome</code></dt> + <dt><code>label</code></dt> <dd>O nome para dar ao novo cronômetro. Ele identificará o cronômetro; use o mesmo quando chamar {{ domxref("console.timeEnd()") }} para parar o cronômetro e obter o tempo na saída do console.</dd> </dl> |