c#의 string.format(“test0={0}, test1={1}”, test0, test1); 과 같은 형태를 javascript에서 사용
1. npm의 string-format module 설치
$ npm install -s string-format
2. javascript 앞에 선언
var format = require('string-format') format.extend(String.prototype);
3. 아래와 같이 사용
console.log("GetElement [{0}:{1}]".format(gtag.deref(), etag.deref()));