const RxVoice = {
init : function(){
},
/**
* @public
*/
setDefaultInit : function(opt){
this.VISIT_SITE = 'https://rxapis.com/';
this.option = opt ? opt : {};
this.lang = this.option['lang'] ? this.option['lang'] : 'en';
this.voiceType = this.option['voiceType'] ? this.option['voiceType'] : '';
console.log(this);
this.proc();
},
우잉.
저 기본값 설정하는 부분에서 에러가 난다.
기본 변수를 입력 못 받고 있군.
에러가 나네. 쉬발.
아, 공식문서에도 기본 변수값 설정을 잡아주지 않았군. 애초에 이 부분은 처리 안 할 생각이었던 거 같아. 지금 처리해야겠군.
아 쉬바... // 두 개 때문에 에러난 거였다!!! String도 구분 못하다니. 이런!!!