Javascript에서 거듭제곱 방법 3가지

유슬기·2022년 12월 19일
0

프론트엔드

목록 보기
5/64
post-thumbnail
const pow1 = a * a;
const pow2 = a ** 2;
const pow3 = Math.pow(a, 2);
profile
아무것도 모르는 코린이

0개의 댓글