console.log 썸네일형 리스트형 url 가져오기, get url - javascript, jQuery url 가져오기, get url - javascript, jQuery javascript window.location; window.location.replace('/',''); jQuery $(location).attr('pathname'); $(location).attr('pathname').replace('/',''); 더보기 if(window.console!=undefined) console.log.bind() if(window.console!=undefined) console.log.bind() . 더보기 console.log를 지워야하는 이유 console.log를 지워야하는 이유 테스트나 디버깅용으로 쓰는 이런 로그로 인해, 실서비스에서는 메모리 릭이 발생할 수 있습니다. http://sculove.github.io/blog/2016/12/02/console-log%EB%A5%BC-%EC%A7%80%EC%9B%8C%EC%95%BC%ED%95%98%EB%8A%94-%EC%9D%B4%EC%9C%A0/ https://github.com/ReactiveX/rxjs/issues/2090#issuecomment-256844948 메모리 누수 (Memory Leak)란? 더보기 이전 1 다음