"JS10 Day 1: Arithmetic Operators"의 두 판 사이의 차이

잔글 (Jmnote님이 JS10 - Day 1: Arithmetic Operators 문서를 JS10 Day 1: Arithmetic Operators 문서로 이동했습니다)
15번째 줄: 15번째 줄:
==같이 보기==
==같이 보기==
* [[해커랭크 10 Days of Javascript]]
* [[해커랭크 10 Days of Javascript]]
* [[해커랭크 String Transmission]]


[[분류: 10 Days of Javascript]]
[[분류: 10 Days of Javascript]]

2018년 8월 1일 (수) 19:31 판

1 개요

Day 1: Arithmetic Operators
function getArea(length, width) {
    return length * width;
}
function getPerimeter(length, width) {
    return ( length + width )* 2;
}

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}