この記事は編集レビューを必要としています。ぜひご協力ください。
この翻訳は不完全です。英語から この記事を翻訳 してください。
概要
ArrayBuffer
オブジェクトに対してのプロトタイプを表します。
Property attributes of ArrayBuffer.prototype |
|
---|---|
Writable | no |
Enumerable | no |
Configurable | no |
説明
ArrayBuffer
インスタンスはArrayBuffer.prototype
から継承します。 すべてのコンストラクタと同様に、すべてのArrayBuffer
インスタンスを変更するために、コンストラクタプロトタイプオブジェクトを変更できます。
プロパティ
- ArrayBuffer.prototype.constructor
- オブジェクトのプロトタイプを生成する関数を指定します。初期値は標準ビルトイン
ArrayBuffer
コンストラクタです。 ArrayBuffer.prototype.byteLength
読取専用- 配列のバイト単位の大きさ。これは、配列が構築されるときに設定され、変更されません。読取専用
メソッド
ArrayBuffer.prototype.slice()
begin
からend
までのバイト単位のこのArrayBuffer
のコピーの内容である新しいArrayBuffer
を返します。begin
またはend
のどちらかがマイナスなら、開始位置とは対照的に、配列の最後からのインデックスを参照します。
仕様
仕様 | ステータス | コメント |
---|---|---|
ECMAScript 6 (ECMA-262) The definition of 'ArrayBuffer.prototype' in that specification. |
勧告候補 | 初期定義。 |
ブラウザ実装状況
機能 | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
基本サポート | 7.0 | 4.0 (2) | 10 | 11.6 | 5.1 |
機能 | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
基本サポート | 4.0 | (有) | 4.0 (2) | 10 | 11.6 | 4.2 |