From 6e9fe98036090a37cc6247b873845505e5b512fb Mon Sep 17 00:00:00 2001 From: Tanner Dolby Date: Tue, 22 Feb 2022 01:49:36 -0800 Subject: Removes empty
or

elements from pages (#3093) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng Co-authored-by: Masahiro FUJIMOTO --- .../web/javascript/reference/global_objects/math/random/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/pt-br/web/javascript/reference/global_objects/math') diff --git a/files/pt-br/web/javascript/reference/global_objects/math/random/index.html b/files/pt-br/web/javascript/reference/global_objects/math/random/index.html index 018628db0e..cf0bec1709 100644 --- a/files/pt-br/web/javascript/reference/global_objects/math/random/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/math/random/index.html @@ -54,7 +54,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/random return Math.floor(Math.random() * (max - min)) + min; } -

+

Pode ser tentandor usar Math.round() para arredondar min e max, mas dessa maneira a aleatoriedade dos números seguiria uma distribuição não-uniforme, que talvez não seja o que você precisa.

-- cgit v1.2.3-54-g00ecf