Full Stack Software Developer
nodejs
mongodb
java
phantomjs
nodejs
linux
2016년 2월 17일 수요일
[nodejs] 실행 인자 받기 argument
var
first_arg
=
process.argv[
2
];
2번째부터가 첫번째 인자임.
node source.js first_arg
이런 식이니까.
댓글 없음:
댓글 쓰기
최근 게시물
이전 게시물
홈
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기