본문 바로가기 메뉴 바로가기

UX&UI Engineer

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

UX&UI Engineer

검색하기 폼
  • 분류 전체보기 (6)
    • Daily life (0)
    • English (0)
    • UI & UX Design (0)
    • Front-end (3)
      • HTML (0)
      • CSS (0)
      • Bootstrap (0)
      • Javascript (3)
      • jQuery (0)
      • ECMASCRIPT 6 (0)
      • Angular (0)
      • React (0)
      • Ioinic (0)
    • Back-end (3)
      • Node.js (3)
      • Express (0)
      • Python (0)
    • IOS (0)
    • Database (0)
      • MySQL (0)
      • MongoDB (0)
      • Firebase (0)
    • CLI (0)
  • 방명록

function (1)
Modules & require()

Modules node.js application 만들 때 많은 모듈들을 사용하는데 함수표현(function expressions)에 대해 알아보자. ▶ 함수표현 (function expressions) function callName(name) { name(); } // function expressions var person = function() { console.log('Jason'); } callName(person); // 결과값 JasoncallName() 함수 호출시 변수로 지정된 person을 argument로 지정한다.그럼 선언적 함수(function declarations)로 지정된 callName에 name이라는 parameter 값에 person을 대입한다.결과적으로는 person..

Back-end/Node.js 2017. 2. 23. 00:23
이전 1 다음
이전 다음
최근에 올라온 글
최근에 달린 댓글
글 보관함
TAG
  • Inheritance
  • Node.js
  • closure
  • EventEmitter
  • function
  • prototype
  • constructor
  • Factory
  • javascript
  • Object
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바