분류 전체보기
-
[JavaScript] 같음 비교컴퓨터/JavaScript_typescript 2020. 10. 5. 11:39
* Object.is(value1, value2) : 두 값이 같은 값인지 결정한다 == : 같음을 테스트하기 전 양 쪽이 같은 형이 아니라면 다양한 강제(coercion)를 적용한다 "" === false // true Object.is는 강제하지 않는다 Object.is('foo', 'foo'); // true Object.is(window, window); // true Object.is('foo', 'bar'); // false Object.is([], []); // false var test = { a: 1 }; Object.is(test, test); // true Object.is(null, null); // true // 특별한 경우 Object.is(0, -0); // false Obje..
-
[JavaScript] arguments컴퓨터/JavaScript_typescript 2020. 10. 4. 14:40
* arguments * the arguments object does not exist inside arrow functions, only traditional ones. 화살표 함수에서는 arguments를 사용할 수 없다. * The arguments object returns an array-like list of the arguments that are passed into a function. => arguments는 array의 prototype을 상속하지 않는다 var maxOfThree = function () { // If there's more than three arguments if (arguments.length > 3) { throw new Error('A max of thre..
-
[ JavaScript ] Currying 함수컴퓨터/JavaScript_typescript 2020. 9. 15. 16:55
* Curring 함수 여러 개의 인자를 받는 함수를 하나의 인자만 받는 함수로 나눠서 순차적으로 호출될 수 있게 체인 형태로 구성한 것 - 한 번에 하나의 인자만 전달 - 중간 과정상의 함수를 실행한 결과는 그다음 인자를 받기 위해 대기할 뿐, 마지막 인자가 전달되기 전까지는 원본 함수가 실행되지 않는다 - 마지막 호출로 실행 컨텍스트가 종료된 후에야 비로소 한꺼번에 GC의 수거대상이 된다. evaluating function with multiple arguments, into a sequence of functions with a single argument when a function, instead of taking all arguments at one time, takes the first o..
-
HTML/CSS 목차컴퓨터/목차 모음 2020. 9. 7. 22:51
* markup이란 문서의 내용이 아니라 내용이 어떻게 배치되고 어떤 크기와 모양을 가지며 여백은 어느 정도인지 표현하는 기술 * html 기본 : ksj12172.tistory.com/1063 * span tag : white-space:break-spaces 속성 넣으면 '\n'(줄바꿈 entity) 있을 때 줄바꿈 된당 * 문자 속성(character entity) : ksj12172.tistory.com/874 * form : ksj12172.tistory.com/808 * input tag: ksj12172.tistory.com/299 * img tag: ksj12172.tistory.com/727 * a tag : ksj12172.tistory.com/477 * tabIndex : ksj121..
-
[javascript] 웹개발, frontend, JavaScript 목차컴퓨터/목차 모음 2020. 9. 5. 19:13
* 오버라이딩(overriding) : 상위 클래스가 가지고 있는 메서드를 하위 클래스가 재정의하여 사용하는 방식 (프로퍼티 섀도잉 : 상속관계에 의해 프로퍼티가 가려지는 현상) * 오버로딩(overloading): 함수의 이름은 동일하지만 매개변수의 타입 또는 개수가 다른 메서드를 구현하고 매개변수에 의해 메서드를 구별하여 호출하는 방식 * Emmet + visual studio code extensions : ksj12172.tistory.com/1060 [ 웹 개발 개념들 ] CDN : https://ksj12172.tistory.com/1160 [ 개념들 ] * JavaScript란 : ksj12172.tistory.com/953 * 함수형 프로그래밍 : ksj12172.tistory.com/23..
-
[react] react 목차컴퓨터/목차 모음 2020. 9. 4. 18:00
* 나만의 규칙 : ksj12172.tistory.com/822 * Next.js 및 backend까지 하는 pjt setting: ksj12172.tistory.com/696 * pjt setting with parcel : ksj12172.tistory.com/756 * module import & export, node.js 모듈 시스템 : ksj12172.tistory.com/16 * SPA란 : ksj12172.tistory.com/716 * react란 : https://ksj12172.tistory.com/412 * rootDOM node, reactDom.render(), render할 때 주의 : https://ksj12172.tistory.com/710 * 가상 DOM : ksj1217..
-
[git] git 목차컴퓨터/목차 모음 2020. 9. 4. 16:03
* 회사에서 git 사용 : ksj12172.tistory.com/1068 * Mac : iTerm2, window : cmder(git 내장) * git 설치 확인 : git --version * git이란( distributed VCS, stream of snapshots) : ksj12172.tistory.com/1040 * git cheat sheet : ksj12172.tistory.com/1041 * fast-forward merge: ksj12172.tistory.com/1042 * Three-way merges : ksj12172.tistory.com/1043 * conflict 해결 방법 : ksj12172.tistory.com/1046 * rebase, rebase --onto : ks..
-
[git] git 초기화, 삭제컴퓨터/git 2020. 9. 4. 16:03
source : youtube, 드림코딩 엘리 git 영상 * git을 초기화할 폴더 생성 및 해당 폴더로 이동(mkdir, cd) 1) git init (git 생성, git local repository 생성) => 이후 ls -al을 하면 .git(숨김폴더/파일, ls 명령어로는 보이지 않는다)이 생긴다 => open .git (git 폴더 내부가 열린다) => 기본 branch : master 2) git 삭제 rm -rf .git 3) 프로젝트 생성 후 git repository에 올리기 i) git init ii) github에서 new repository 생성 iii) .gitignore 파일 만들기 검색창에 gitignore nodejs 검색 .gitignore 파일 추가 # Logs lo..