• 회원가입
  • 로그인
  • 구글아이디로 로그인

[Global] JS - Global - (전역함수 + 전역속성) 종류

목차
  1. 전역함수 + 전역속성
  2. 전역속성 (Global Property)
  3. 전역함수 (Global Function)

 

전역함수 + 전역속성

 

 JS 내장 모든 객체와 함께 사용 가능.

 

 

전역속성 (Global Property)

 

Infinity

양수/음수 무한대 나타내는 숫자값

 

NaN

유효한 숫자가 아닌 값 (Not-a-Number)

 

undefined

변수에 값이 할당 안 됨. (= 미정의)

 

 

전역함수 (Global Function)

 

decodeURI()

URI 디코딩

 

decodeURIComponent()

URI 구성 요소 디코딩

 

encodeURI()

URI 인코딩

 

encodeURIComponent()

URI 구성 요소 인코딩

 

escape()

폐기예고(버전1.5).

대신, encodeURI() 또는 encodeURIComponent() 사용.

 

eval()

문자열 평가해 마치 스크립트 코드 인 것처럼 실행

 

isFinite()

값이 유한하고 유효한 숫자인지 확인

 

isNaN()

값이 잘못된 숫자인지 확인

 

Number()

객체의 값을 숫자로 변환

 

parseFloat()

문자열을 구문분석하고 부동 소수점 숫자 반환

 

parseInt()

문자열을 파싱하고 정수 반환

 

String()

객체의 값을 문자열로 변환

 

unescape()

폐기예고(버전1.5).

대신, decodeURI() 또는 decodeURIComponent() 사용.

 



분류 제목
DOM_Attribute JS - attr.isId -
DOM_Attribute JS - attr.name -
DOM_Attribute JS - attr.value -
DOM_Attribute JS - attr.specified -
DOM_Attribute JS - nodemap.getNamedItem() 메서드 -
DOM_Attribute JS - nodemap.item() 메서드 -
DOM_Attribute JS - nodemap.length -
DOM_Attribute JS - nodemap.removeNamedItem() 메서드 -
DOM_Attribute JS - nodemap.setNamedItem() 메서드 -
Window_Console JS - console.assert() 메서드 - 표현식이 FALSE인지 확인 (= 표현식 거짓 여부 체크 …
Window_Console JS - console.clear() 메서드 - 콘솔 지우기 (=콘솔창 청소 = console.clear메…
Window_Console JS - console.count() 메서드 - 콘솔창에서 카운트하기 (= 숫자 세기 = console.co…
Window_Console JS - console.error() 메서드 - 콘솔창에서 에러메시지 띄우기 (= console.error메…
Window_Console JS - console.group() 메서드 - 콘솔에서 메시지 그룹 생성 시작 (= console.grou…
Window_Console JS - console.groupCollapsed() 메서드 - 콘솔에서 접힌/축소된 메시지 그룹 시작 지정…
Window_Console JS - console.groupEnd() - 메시지 그룹의 끝/종료 지점 지정 (= console.grou…
Window_Console JS - console.info() 메서드 - 콘솔에 메시지 쓰기 (= console.info메서드 = 콘솔…
Window_Console JS - console.log() 메서드 - 콘솔에 메시지 쓰기 (= console.log메서드 = 콘솔로그…
Window_Console JS - console.table() 메서드 - 콘솔에 테이블 쓰기 (= console.table메서드 = …
Window_Console JS - console.time() 메서드 - 콘솔창에서 타이머 시작 (= console.time메서드 = …
23/67
목록
찾아주셔서 감사합니다. Since 2012