{"json_modified": "2015-04-17T02:21:49.981249", "slug": "Web/JavaScript/Reference/Global_Objects/Array/unshift", "tags": [], "locale": "zh-CN", "title": "Array.prototype.unshift()", "translations": [{"title": "Array.prototype.unshift()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift", "tags": ["Array", "prototype", "Method", "JavaScript"], "summary": "The unshift()
method adds one or more elements to the beginning of an array and returns the new length of the array.", "localization_tags": [], "locale": "en-US", "last_edit": "2014-09-04T03:50:17", "review_tags": []}, {"title": "Array.prototype.unshift()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift", "tags": ["Array", "Array methods"], "summary": "\u914d\u5217\u306e\u6700\u521d\u306b 1 \u3064\u4ee5\u4e0a\u306e\u8981\u7d20\u3092\u8ffd\u52a0\u3057\u3001\u65b0\u3057\u3044\u914d\u5217\u306e\u9577\u3055\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-12T11:54:15", "review_tags": []}, {"title": "unshift", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Array/unshift", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Wszystkie_kategorie"], "summary": "", "localization_tags": [], "locale": "pl", "last_edit": "2014-05-31T00:08:54", "review_tags": []}, {"title": "Array.prototype.unshift()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/unshift", "tags": ["Reference", "R\u00e9f\u00e9rence", "Array", "prototype", "JavaScript", "Method"], "summary": "La m\u00e9thode unshift()
ajoute un ou plusieurs \u00e9l\u00e9ments au d\u00e9but d'un tableau et renvoie la nouvelle longueur du tableau.", "localization_tags": [], "locale": "fr", "last_edit": "2015-01-16T13:49:20", "review_tags": []}, {"title": "Array.prototype.unshift()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift", "tags": ["Array", "prototype", "Method", "JavaScript"], "summary": "\u041c\u0435\u0442\u043e\u0434 unshift()
\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0434\u0438\u043d \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043d\u043e\u0432\u0443\u044e \u0434\u043b\u0438\u043d\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0430.", "localization_tags": [], "locale": "ru", "last_edit": "2014-10-06T22:59:39", "review_tags": []}, {"title": "Array.prototype.unshift()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift", "tags": ["m\u00e9todo", "Array", "prototype", "metodo", "JavaScript"], "summary": "O m\u00e9todo unshift()
\u00a0adiciona um ou mais elementos no in\u00edcio de um array e retorna o n\u00famero de elementos (propriedade\u00a0length
) atualizado.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2014-09-17T07:44:04", "review_tags": []}], "modified": "2015-04-17T02:21:48", "label": "Array.prototype.unshift()", "localization_tags": [], "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift", "last_edit": "2014-07-30T08:01:17", "summary": "unshift()
\u65b9\u6cd5\u5728\u6570\u7ec4\u7684\u5f00\u5934\u6dfb\u52a0\u4e00\u4e2a\u6216\u8005\u591a\u4e2a\u5143\u7d20\uff0c\u5e76\u8fd4\u56de\u6570\u7ec4\u65b0\u7684 length \u503c\u3002", "sections": [{"id": "Quick_Links", "title": "JavaScript \u6807\u51c6\u5e93 Array \u5c5e\u6027 Array.prototype Array.length \u65b9\u6cd5 Array.from() Array.isArray() Array.observe() [Translate] Array.of() Array.prototype.concat() Array.prototype.copyWithin() Array.prototype.entries() Array.prototype.every() Array.prototype.fill() Array.prototype.filter() Array.prototype.find() Array.prototype.findIndex() Array.prototype.forEach() Array.prototype.includes() Array.prototype.indexOf() Array.prototype.join() Array.prototype.keys() Array.prototype.lastIndexOf() Array.prototype.map() Array.prototype.pop() Array.prototype.push() Array.prototype.reduce() Array.prototype.reduceRight() Array.prototype.reverse() Array.prototype.shift() Array.prototype.slice() Array.prototype.some() Array.prototype.sort() Array.prototype.splice() Array.prototype.toLocaleString() Array.prototype.toSource() Array.prototype.toString() Array.prototype.unshift() Array.prototype.values() [Translate] Array.prototype[@@iterator]() [Translate] \u7ee7\u627f Function \u5c5e\u6027 Function.arguments Function.arity caller Function.displayName [Translate] length name prototype \u65b9\u6cd5 Function.prototype.apply() bind call isGenerator Function.toSource Function.prototype.toString() Object \u5c5e\u6027 Object.prototype.__count__ [Translate] Object.prototype.__noSuchMethod__ [Translate] __parent__ __proto__ constructor \u65b9\u6cd5 Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() [Translate] Object.prototype.hasOwnProperty() isPrototypeOf propertyIsEnumerable Object.prototype.toLocaleString() Object.toSource Object.prototype.toString() Object.prototype.unwatch() [Translate] Object.prototype.valueOf() watch"}, {"id": "Summary", "title": "\u6982\u8ff0"}, {"id": "Syntax", "title": "\u8bed\u6cd5"}, {"id": "Parameters", "title": "\u53c2\u6570\u5217\u8868"}, {"id": ".E8.BF.94.E5.9B.9E.E5.80.BC", "title": "\u8fd4\u56de\u503c"}, {"id": "Description", "title": "\u63cf\u8ff0"}, {"id": "Examples", "title": "\u4f8b\u5b50"}, {"id": ".E8.A7.84.E8.8C.83", "title": "\u89c4\u8303"}, {"id": ".E6.B5.8F.E8.A7.88.E5.99.A8.E5.85.BC.E5.AE.B9.E6.80.A7", "title": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027"}, {"id": "See_also", "title": "\u76f8\u5173\u94fe\u63a5"}], "id": 71241, "review_tags": []}