From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- .../reference/global_objects/math/exp/index.html | 90 ++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 files/ko/web/javascript/reference/global_objects/math/exp/index.html (limited to 'files/ko/web/javascript/reference/global_objects/math/exp') diff --git a/files/ko/web/javascript/reference/global_objects/math/exp/index.html b/files/ko/web/javascript/reference/global_objects/math/exp/index.html new file mode 100644 index 0000000000..c00f391045 --- /dev/null +++ b/files/ko/web/javascript/reference/global_objects/math/exp/index.html @@ -0,0 +1,90 @@ +--- +title: Math.exp() +slug: Web/JavaScript/Reference/Global_Objects/Math/exp +translation_of: Web/JavaScript/Reference/Global_Objects/Math/exp +--- +
{{JSRef}}
+ +

 Math.exp()함수는 x를 인수로 하는 ex 값을 반환합니다. 그리고 e는 {{jsxref("Math.E", "오일러 상수(또는 네이피어 상수)", "", 1)}}는 자연 로그의 밑입니다.

+ +
{{EmbedInteractiveExample("pages/js/math-exp.html")}}
+ + + +

구문

+ +
Math.exp(x)
+ +

매개변수

+ +
+
x
+
숫자
+
+ +

반환 값

+ +

e는 {{jsxref("Math.E", "오일러 상수", "", 1)}}이고 x는 인수인 ex

+ +

Description

+ +

exp()Math의 정적 메소드이기 때문에 새로 작성한 Math 오브젝트 대신에 항상 Math.exp()의 형태로 써야 합니다. (Math는 생성자가 아닙니다.)

+ +

예시

+ +

 Math.exp() 사용 예

+ +
Math.exp(-1); // 0.36787944117144233
+Math.exp(0);  // 1
+Math.exp(1);  // 2.718281828459045
+
+ +

설명

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
설명상태비고
{{SpecName('ES1')}}{{Spec2('ES1')}}최초의 정의. JavaScript 1.0.에서 첫 시행.
{{SpecName('ES5.1', '#sec-15.8.2.8', 'Math.exp')}}{{Spec2('ES5.1')}}
{{SpecName('ES6', '#sec-math.exp', 'Math.exp')}}{{Spec2('ES6')}}
{{SpecName('ESDraft', '#sec-math.exp', 'Math.exp')}}{{Spec2('ESDraft')}}
+ +

브라우저 호환성

+ + + +

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

+ +

같이 보기

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