diff --git a/1-js/05-data-types/11-date/2-get-week-day/solution.md b/1-js/05-data-types/11-date/2-get-week-day/solution.md index 58d75c1c31..b718f2da9e 100644 --- a/1-js/05-data-types/11-date/2-get-week-day/solution.md +++ b/1-js/05-data-types/11-date/2-get-week-day/solution.md @@ -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) { @@ -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-- \ No newline at end of file diff --git a/5-network/11-websocket/article.md b/5-network/11-websocket/article.md index 4eaf47ed2f..60783b14f6 100644 --- a/5-network/11-websocket/article.md +++ b/5-network/11-websocket/article.md @@ -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.