요약(Summary)
수학을 위한 객체
문법(Syntax)
1 2 | Math.property; Math.method(); |
설명(Description)
Math object는 인스턴스(instance)를 생성하지 않기 때문에 생성자가 없다.
Math의 모든 맴버는 static method, static property이다.
예제(Example)
1 2 | var x = Math.PI; var y = Math.sqrt(); |
Coding Everybody