javascript 사전

Math

요약(Summary)

수학을 위한 객체

문법(Syntax)

Math.property;
Math.method();

설명(Description)

Math object는 인스턴스(instance)를 생성하지 않기 때문에 생성자가 없다.
Math의 모든 맴버는 static method, static property이다.

예제(Example)

var x = Math.PI;
var y = Math.sqrt();

 

댓글

댓글 본문
  1. 푸른하늘
    13일차 공부 감사합니다
graphittie 자세히 보기