-
[JS연습]object안에 funtion만들기코딩Coding/HTML_CSS_JavaScript연습 2021. 11. 5. 19:39728x90
const calculator = { add : function (a, b) { console.log(a+b); }, minus : function (a,b) { console.log(a-b); }, }; calculator.add(3, 10); calculator.minus(50, 10);
결과
반응형'코딩Coding > HTML_CSS_JavaScript연습' 카테고리의 다른 글
AWS EC2 용량 증설(EBS 볼륨 확장) (0) 2023.02.02 (HTML연습CSS)클릭시 페이지 최상단으로 이동하는 TOP버튼 (0) 2021.11.27 HTML연습)Table만들기(표) (0) 2021.11.19 HTML Block and Inline Elements⭐⭐⭐ (0) 2021.11.14 [Vanilla JavaScript Calendar연습]Coding A Calendar App In Plain JavaScript (0) 2021.11.04 [JS연습](Javascript calendar),events,booking and scheduler in Javascript tutoria (0) 2021.11.02 HTML연습)39분까지(const renderCalendar 할 때 에러남.)에러나서 포기~Calendar with HTML, CSS, and JavaScript - How to build calendar using HTML, CSS, and JavaScript (0) 2021.10.31 달력 📆 만들기 with HTML CSS and JS (0) 2021.10.30