막 쉼표를 항상 사용합니다. 즉, 필자의 상식으로는, 배열과 객체 리터럴의 마지막에는 항상 쉼
표가 있습니다. 마지막 쉼표를 쓰느냐 마느냐 하는 논쟁이 늘 있지만, 필자는 마지막 쉼표를 선
호합니다. 필자는요. 독자 여러분이 마지막 쉼표를 썼을 때 문제가 생긴다고 느끼거나, 팀의 스
타일 가이드에서 마지막 쉼표를 쓰지 않도록 정했다면 필자의 의견은 잊고 마지막 쉼표를 쓰지
마십시오.
널리 사용되는 자바스크립트 객체 표기법(
JSON
)에서는 마지막 쉼표를
허용하지 않습니다
.
3.16
날짜
자바스크립트의 날짜와 시간은 내장된
Date
객체에서 담당합니다.
Date
객체는 자바스크립트
에서 불만스러운 부분 중 하나입니다.
Date
객체는 원래 자바에서 가져온 겁니다(‘자바’스크립
트가 자바와 연관된 몇 안 되는 부분 중 하나입니다).
Date
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.