8 to 17, 23 to 1
const find = (array = [], id) => {
for (const item of array) {
const result = item.id === id ? item : find(item.children, id);
if (result) return result;
}
};
const selectedAssignment = find(Constants.TEMP_ASSIGNMENTS, assignmentId);
18 to 19
global obj
URL (아스키 문자로만/ 한글이나 특수문자는 이스케이프 처리)
Number obj => 테스팅
(toFixed(), toString(), toLocalString(), toPrecision(), )
String obj
(charAt[], length, indexOf(),lastIndexOf(),includes(),startsWith(), endsWith(), toUpperCase(), toLowerCase(), subString(0, 2), slice(), trim(), split(' '), )
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
21 to 23
Monday/ Wednesday/ Thursday (Clarisse랑 날짜 조정하기)
Wednesday/ Saturday
Free time