From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- .../reference/global_objects/math/e/index.html | 79 ---------------------- 1 file changed, 79 deletions(-) delete mode 100644 files/it/web/javascript/reference/global_objects/math/e/index.html (limited to 'files/it/web/javascript/reference/global_objects/math/e') diff --git a/files/it/web/javascript/reference/global_objects/math/e/index.html b/files/it/web/javascript/reference/global_objects/math/e/index.html deleted file mode 100644 index 859d16145b..0000000000 --- a/files/it/web/javascript/reference/global_objects/math/e/index.html +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: Math.E -slug: Web/JavaScript/Reference/Global_Objects/Math/E -translation_of: Web/JavaScript/Reference/Global_Objects/Math/E ---- -
{{JSRef}}
- -

La costante Math.E rappresenta la base del logaritmo naturale, e, equivale approssimativamente a 2.718.

- -

Math.E=e2.718\mathtt{\mi{Math.E}} = e \approx 2.718

- -
{{EmbedInteractiveExample("pages/js/math-e.html")}}
- - - -
{{js_property_attributes(0, 0, 0)}}
- -

Descrizione

- -

Poiché E è una proprietà statica di Math, lo si usa sempre come Math.E, piuttosto che come un metodo di un Oggetto Math appositamente creato (Math non ha un costruttore).

- -

Esempi

- -

Uso di Math.E

- -

Il codice seguente restitusice e:

- -
function getNapier() {
-  return Math.E;
-}
-
-getNapier(); // 2.718281828459045
-
- -

Specifiche

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('ES1')}}{{Spec2('ES1')}}Initial definition. Implemented in JavaScript 1.0.
{{SpecName('ES5.1', '#sec-15.8.1.1', 'Math.E')}}{{Spec2('ES5.1')}} 
{{SpecName('ES6', '#sec-math.e', 'Math.E')}}{{Spec2('ES6')}} 
{{SpecName('ESDraft', '#sec-math.e', 'Math.E')}}{{Spec2('ESDraft')}} 
- -

Compatibilità Browser

- - - -

{{Compat("javascript.builtins.Math.E")}}

- -

Vedi anche

- - -- cgit v1.2.3-54-g00ecf