Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions 1-js/05-data-types/11-date/2-get-week-day/solution.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The method `date.getDay()` returns the number of the weekday, starting from sunday.
`date.getDay()` �޼���� ������ ��Ÿ���� ���ڸ� ��ȯ�մϴ�(�Ͽ��Ϻ��� ����).

Let's make an array of weekdays, so that we can get the proper day name by its number:
������ ��� �迭�� �����, `date.getDay()`�� ȣ���� ��ȯ���� ���� �ε����� ����ϸ� ���ϴ� ����� ������ �� �ֽ��ϴ�.

```js run demo
function getWeekDay(date) {
Expand All @@ -9,6 +9,8 @@ function getWeekDay(date) {
return days[date.getDay()];
}

let date = new Date(2014, 0, 3); // 3 Jan 2014
let date = new Date(2014, 0, 3); // 2014�� 1�� 3��
alert( getWeekDay(date) ); // FR
```

--2019-11-15--
2 changes: 1 addition & 1 deletion 5-network/11-websocket/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Here `Sec-WebSocket-Accept` is `Sec-WebSocket-Key`, recoded using a special algo

Afterwards, the data is transfered using WebSocket protocol, we'll see its structure ("frames") soon. And that's not HTTP at all.

### Extensions and subprotocols
### extensions와 subprotocols 헤더

There may be additional headers `Sec-WebSocket-Extensions` and `Sec-WebSocket-Protocol` that describe extensions and subprotocols.

Expand Down