if(typeof String.prototype.trim !== 'function') {

   String.prototype.trim = function() {

       return this.replace(/^\s+|\s+$/g, ''); 

   };

}

  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기