{"json_modified": "2015-05-21T19:03:12.344711", "slug": "Web/JavaScript/Reference/Global_Objects/TypedArray/fill", "tags": ["TypedArray", "TypedArrays", "prototype", "JavaScript", "ECMAScript6", "Method"], "locale": "ja", "title": "TypedArray.prototype.fill()", "translations": [{"title": "TypedArray.prototype.fill()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/fill", "tags": ["TypedArray", "TypedArrays", "prototype", "JavaScript", "ECMAScript6", "Method"], "summary": "The <code><strong>fill()</strong></code> method fills all the elements of a typed array from a start index to an end index with a static value. This method has the same algorithm as <a href=\"/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill\" title=\"The fill() method fills all the elements of an array from a start index to an end index with a static value.\"><code>Array.prototype.fill()</code></a><em>.</em> <em>TypedArray</em> is one of the <a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#TypedArray_objects\">typed array types</a> here.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-01-05T11:59:30", "review_tags": []}, {"title": "TypedArray.prototype.fill()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/TypedArray/fill", "tags": ["TypedArrays", "Reference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "ECMAScript6", "Method"], "summary": "La m\u00e9thode <code><strong>fill()</strong></code> remplit les \u00e9l\u00e9ments d'un tableau typ\u00e9 contenu entre un indice de d\u00e9but et un indice de fin avec une valeur statique. Cette m\u00e9thode utilise le m\u00eame algorithme que <a href=\"/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/fill\" title=\"La m&#xE9;thode fill() remplit tout les &#xE9;l&#xE9;ments d'un tableau entre deux index avec une valeur statique.\"><code>Array.prototype.fill()</code></a>. Dans le reste de cet article, <em>TypedArray</em> correspond \u00e0 l'un des <a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#TypedArray_objects\">types de tableaux typ\u00e9s</a>.", "localization_tags": [], "locale": "fr", "last_edit": "2015-01-18T07:01:20", "review_tags": []}], "modified": "2015-05-21T19:03:11", "label": "TypedArray.prototype.fill()", "localization_tags": ["inprogress"], "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/fill", "last_edit": "2015-05-21T19:03:07", "summary": "\u958b\u59cb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304b\u3089\u7d42\u4e86\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u307e\u3067\u306etyped array\u306e\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u56fa\u5b9a\u5024\u3067\u57cb\u3081\u307e\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f<a href=\"/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/fill\" title=\"fill() &#x30E1;&#x30BD;&#x30C3;&#x30C9;&#x306F;&#x3001;&#x958B;&#x59CB;&#x4F4D;&#x7F6E;&#x304B;&#x3089;&#x7D42;&#x4E86;&#x4F4D;&#x7F6E;&#x307E;&#x3067;&#x306E;&#x914D;&#x5217;&#x306E;&#x8981;&#x7D20;&#x3092;&#x56FA;&#x5B9A;&#x5024;&#x3067;&#x8A2D;&#x5B9A;&#x3057;&#x307E;&#x3059;&#x3002;\"><code>Array.prototype.fill()</code></a>\u3068\u540c\u3058\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<em>TypedArray</em>\u306f\u3053\u3053\u3067\u306f<a href=\"/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#TypedArray_objects\">typed array types</a>\u306e\u4e00\u3064\u3067\u3059\u3002", "sections": [{"id": "Quick_Links", "title": "Standard built-in objects TypedArray Properties TypedArray.BYTES_PER_ELEMENT TypedArray.name TypedArray.prototype [Translate] TypedArray.prototype.buffer TypedArray.prototype.byteLength TypedArray.prototype.byteOffset TypedArray.prototype.length [Translate] Methods TypedArray.from() TypedArray.of() TypedArray.prototype.copyWithin() TypedArray.prototype.entries() TypedArray.prototype.every() [Translate] TypedArray.prototype.fill() TypedArray.prototype.filter() [Translate] TypedArray.prototype.find() [Translate] TypedArray.prototype.findIndex() [Translate] TypedArray.prototype.forEach() [Translate] TypedArray.prototype.includes() [Translate] TypedArray.prototype.indexOf() [Translate] TypedArray.prototype.join() [Translate] TypedArray.prototype.keys() [Translate] TypedArray.prototype.lastIndexOf() [Translate] TypedArray.prototype.map() [Translate] TypedArray.prototype.move() [Translate] TypedArray.prototype.reduce() [Translate] TypedArray.prototype.reduceRight() [Translate] TypedArray.prototype.reverse() [Translate] TypedArray.prototype.set() [Translate] TypedArray.prototype.slice() [Translate] TypedArray.prototype.some() [Translate] TypedArray.prototype.subarray() [Translate] TypedArray.prototype.values() [Translate] TypedArray.prototype[@@iterator]() [Translate] Related pages: Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array Inheritance: Function Properties Function.arguments Function.arity Function.caller Function.displayName Function.length Function.name Function.prototype Methods Function.prototype.apply() Function.prototype.bind() Function.prototype.call() Function.prototype.isGenerator() Function.prototype.toSource() Function.prototype.toString() Object Properties Object.prototype.__count__ Object.prototype.__noSuchMethod__ Object.prototype.__parent__ Object.prototype.__proto__ [Translate] Object.prototype.constructor [Translate] Methods Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() Object.prototype.hasOwnProperty() Object.prototype.isPrototypeOf() Object.prototype.propertyIsEnumerable() Object.prototype.toLocaleString() Object.prototype.toSource() Object.prototype.toString() Object.prototype.unwatch() Object.prototype.valueOf() Object.prototype.watch()"}, {"id": ".E6.A6.82.E8.A6.81", "title": "\u6982\u8981"}, {"id": "Syntax", "title": "\u69cb\u6587"}, {"id": "Parameters", "title": "\u5f15\u6570"}, {"id": ".E8.AA.AC.E6.98.8E", "title": "\u8aac\u660e"}, {"id": ".E4.BE.8B", "title": "\u4f8b"}, {"id": ".E4.BB.95.E6.A7.98", "title": "\u4ed5\u69d8"}, {"id": "Browser_compatibility", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "See_also", "title": "\u95a2\u9023\u60c5\u5831"}], "id": 151251, "review_tags": ["editorial"]}