Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

TypedArray.prototype

TypedArray.prototype 속성(property)은 TypedArray 생성자에 대한 프로토타입을 나타냅니다.

Property attributes of TypedArray.prototype
Writable no
Enumerable no
Configurable no

설명

TypedArray 인스턴스는 TypedArray.prototype을 상속합니다. 모든 TypedArray 인스턴스에 속성 또는 메서드를 추가하기 위해 생성자의 프로토타입 객체를 사용할 수 있으며, TypedArrayTypedArray 객체 유형 중 하나입니다.

상속에 관한 자세한 정보를 위해 TypedArray에 대한 설명도 참조하세요.

속성

TypedArray.prototype.constructor
인스턴스의 프로토타입을 만든 함수를 반환합니다. 이는 기본으로 해당 TypedArray 객체 유형 함수 중 하나입니다.
TypedArray.prototype.buffer Read only
형식화 배열에 의해 참조되는 ArrayBuffer를 반환합니다. 생성 시에 고정되기에 읽기 전용.
TypedArray.prototype.byteLength Read only
ArrayBuffer의 시작점부터 형식화 배열의 길이(단위 바이트)를 반환합니다. 생성 시에 고정되기에 읽기 전용.
TypedArray.prototype.byteOffset Read only
ArrayBuffer의 시작점부터 형식화 배열의 오프셋(단위 바이트)을 반환합니다. 생성 시에 고정되기에 읽기 전용.
TypedArray.prototype.length Read only
형식화 배열 내 보유한 요소의 수를 반환합니다. 생성 시에 고정되기에 읽기 전용.

메서드

TypedArray.prototype.copyWithin()
배열 내부 일련의 배열 요소를 복사합니다. Array.prototype.copyWithin()도 참조.
TypedArray.prototype.entries()
배열 내 각 인덱스에 대한 키/값 쌍을 포함하는 새로운 Array Iterator 객체를 반환합니다. Array.prototype.entries()도 참조.
TypedArray.prototype.every()
배열의 모든 요소가 함수로 제공되는 테스트를 통과하는지를 테스트합니다. Array.prototype.every()도 참조.
TypedArray.prototype.fill()
시작 인덱스부터 끝 인덱스까지 배열의 모든 요소를 고정값으로 채웁니다. Array.prototype.fill()도 참조.
TypedArray.prototype.filter()
제공되는 필터링 함수가 true를 반환하는 이 배열의 모든 요소를 갖는 새로운 배열을 생성합니다. Array.prototype.filter()도 참조.
TypedArray.prototype.find()
배열 내 요소가 제공되는 테스트 함수를 만족하는 경우 배열 내 찾은 값 또는 못 찾은 경우 undefined를 반환합니다. Array.prototype.find()도 참조.
TypedArray.prototype.findIndex()
배열 내 요소가 제공되는 테스트 함수를 만족하는 경우 배열 내 찾은 인덱스 또는 못 찾은 경우 -1을 반환합니다. Array.prototype.findIndex()도 참조.
TypedArray.prototype.forEach()
배열 내 각 요소에 대해 함수를 호출합니다. Array.prototype.forEach()도 참조.
TypedArray.prototype.includes()
형식화 배열이 특정 요소를 포함하는지를 판단해, 적절히 true 또는 false를 반환합니다. Array.prototype.includes()도 참조.
TypedArray.prototype.indexOf()
지정된 값과 같은 배열 내부 요소의 첫(최소) 인덱스 또는 못 찾은 경우 -1을 반환합니다. Array.prototype.indexOf()도 참조.
TypedArray.prototype.join()
배열의 모든 요소를 문자열로 합칩니다. Array.prototype.join()도 참조.
TypedArray.prototype.keys()
배열의 각 인덱스에 대한 키를 포함하는 새로운 Array Iterator를 반환합니다. Array.prototype.keys()도 참조.
TypedArray.prototype.lastIndexOf()
지정된 값과 같은 배열 내부 요소의 끝(최대) 인덱스 또는 못 찾은 경우 -1을 반환합니다. Array.prototype.lastIndexOf()도 참조.
TypedArray.prototype.map()
이 배열의 모든 요소에 제공된 함수를 호출한 결과를 갖는 새로운 배열을 생성합니다. Array.prototype.map()도 참조.
TypedArray.prototype.move() Unimplemented
TypedArray.prototype.copyWithin()의 이전 비표준 버전.
TypedArray.prototype.reduce()
누산기(accumulator) 및 배열의 각 값(좌에서 우로)에 대해 한 값으로 줄도록 함수를 적용합니다. Array.prototype.reduce()도 참조.
TypedArray.prototype.reduceRight()
누산기 및 배열의 각 값(우에서 좌로)에 대해 한 값으로 줄도록 함수를 적용합니다. Array.prototype.reduceRight()도 참조.
TypedArray.prototype.reverse()
배열 요소의 순서를 뒤집습니다 — 처음이 마지막이 되고 마지막이 처음이 됩니다. Array.prototype.reverse()도 참조.
TypedArray.prototype.set()
형식화 배열에 여러 값을 저장합니다, 지정된 배열에서 입력 값을 읽어.
TypedArray.prototype.slice()
배열의 한 부분을 추출하여 새로운 배열을 반환합니다. Array.prototype.slice()도 참조.
TypedArray.prototype.some()
이 배열의 적어도 한 요소가 제공된 테스트 함수를 만족하는 경우 true를 반환합니다. Array.prototype.some()도 참조.
TypedArray.prototype.sort()
배열의 요소를 적소에 정렬해 그 배열을 반환합니다. Array.prototype.sort()도 참조.
TypedArray.prototype.subarray()
주어진 시작 및 끝 요소 인덱스로부터 새로운 TypedArray를 반환합니다.
TypedArray.prototype.values()
배열의 각 인덱스에 대한 값을 포함하는 새로운 Array Iterator 객체를 반환합니다. Array.prototype.values()도 참조.
TypedArray.prototype.toLocaleString()
배열 및 그 요소를 나타내는 지역화된 문자열을 반환합니다. Array.prototype.toLocaleString()도 참조.
TypedArray.prototype.toString()
배열 및 그 요소를 나타내는 문자열을 반환합니다. Array.prototype.toString()도 참조.
TypedArray.prototype[@@iterator]()
배열의 각 인덱스에 대한 값을 포함하는 새로운 Array Iterator 객체를 반환합니다.

스펙

스펙 상태 설명
ECMAScript 2015 (6th Edition, ECMA-262)
The definition of 'TypedArray prototype' in that specification.
Standard 초기 정의.
ECMAScript 2017 Draft (ECMA-262)
The definition of 'TypedArray prototype' in that specification.
Draft  

브라우저 호환성

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 7.0 4.0 (2) 10 11.6 5.1
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 4.0 (Yes) 4.0 (2) 10 11.6 4.2

참조

문서 태그 및 공헌자

 이 페이지의 공헌자: Netaras
 최종 변경: Netaras,