diff options
author | Meleipe <pmnapoles@gmail.com> | 2021-10-11 00:08:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 20:08:07 -0300 |
commit | e1d8a24cdbf07015428d55771a75c8d395caf920 (patch) | |
tree | ba7a0d1fb0a317bcc3d8026bac81703265a05de9 /files/pt-br/web | |
parent | f68d7dee808f964a3b8a11d2c4cf898836ee0a1a (diff) | |
download | translated-content-e1d8a24cdbf07015428d55771a75c8d395caf920.tar.gz translated-content-e1d8a24cdbf07015428d55771a75c8d395caf920.tar.bz2 translated-content-e1d8a24cdbf07015428d55771a75c8d395caf920.zip |
Update index.html (#2660)
Small translation fix. It should state that it produces some other positive value (and not a negative one).
Diffstat (limited to 'files/pt-br/web')
-rw-r--r-- | files/pt-br/web/javascript/reference/global_objects/string/localecompare/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/pt-br/web/javascript/reference/global_objects/string/localecompare/index.html b/files/pt-br/web/javascript/reference/global_objects/string/localecompare/index.html index 6e8892272a..e5330dd27f 100644 --- a/files/pt-br/web/javascript/reference/global_objects/string/localecompare/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/string/localecompare/index.html @@ -70,7 +70,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/localeCompare 'a'.localeCompare('c'); // -2 ou -1 (ou algum outro valor negativo) // Alfabeticamente, a palavra "verificar" vem depois de "contra", produzindo um valor positivo -'verificar'.localeCompare('contra'); // 2 ou 1 (ou algum outro valor negativo) +'verificar'.localeCompare('contra'); // 2 ou 1 (ou algum outro valor positivo) // "a" e "a" são equivalentes, resultando em um valor neutro de zero 'a'.localeCompare('a'); // 0 |