Published: 25 May 2018 › Updated: 25 May 2018

무엇을 포스팅 할까 고민중입니다.
타이틀은 Developer
회원가입은 비트코인 붐 07년 12월
이제 시작함
파견나온 회사에 할일이 없기 때문에
1Day 1Posting 1Push
거창한 계획 세워봐야
안할것을 알기에
무작정 아무거나 해볼 생각
- array - object - ES6 - node - rest - react - graphql - rethinkdb - 가끔 영어
- 순서로 정렬 불가능, 카테고리 없음, 제목으로 검색해야 하는데 꼭 제목에 카테고리를 분리하고싶음
- [React] [React Apollo] [React rethinkDB]
Javascript - prototype
React 작업하면서 ES6의 construct / super 에 대해 공부하다보니
근본은 object - prototype에서 온것을 확인 조금더 공부해보기로 함.Object prototype 에 가보면
잘 정리되어 있고 한번 풀어봤으나.. 이 문서에서 처럼은 써본적이 없어서
프로젝트에 사용되었던 예시로 사용해본다다른 포스팅처럼 전문적으로 설명할 지식이 없으므로
한 섹션, 한섹션 풀어보면서 서술해볼 예정
Step1
var Person = function() {
this.canTalk = true;
};
Person이란 Object를 새로 선언Person의 첫번째this는canTalk값은true
Step2
Person.prototype.greet = function() {
if (this.canTalk) {
console.log('Hi, I am ' + this.name);
}
};
Person의prototype을 선언 이름은greetgreet를 재 사용시Step1의canTalk조건문을 활용
위와 같은 형식으로 시작합니다.
계속해서 작업중 ....
Leave 무엇을 포스팅 할까 고민중입니다. to:
Read more #developer posts
Best Posts From wantbycre
We have not curated any of wantbycre's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.