<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>array on adolsai's echo</title><link>https://adolsai.com/tag/array/</link><description>Recent content in array on adolsai's echo</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 08 Mar 2014 17:03:55 +0800</lastBuildDate><atom:link href="https://adolsai.com/tag/array/index.xml" rel="self" type="application/rss+xml"/><item><title>javascript learning notes——array</title><link>https://adolsai.com/archives/37.html</link><pubDate>Sat, 08 Mar 2014 15:24:00 +0800</pubDate><guid>https://adolsai.com/archives/37.html</guid><description>&lt;p&gt;把数组的笔记写完先&#10;数组继承自Array.prototype中的属性，定义了一套丰富的数组操作函数，对于类数组对象同样有效。&#10;数组是javascript对象的特殊形式，用数字引索来访问数组元素要比访问常规的对象属性快很多。&#10;javascript数组的引索是从零开始的32位数值。对于稠密数组，length即是数组包含的元素个数。对于稀疏数值，length比所有元素的引索都要大。&lt;/p&gt;</description></item><item><title>javascript learning notes——object</title><link>https://adolsai.com/archives/36.html</link><pubDate>Fri, 07 Mar 2014 23:41:00 +0800</pubDate><guid>https://adolsai.com/archives/36.html</guid><description>&lt;p&gt;《javascript权威指南》这本书有点太专业了，今天只是看了对象和数组。&#10;对象：不知道是我之前看的书太少还是js的对象实在很特别。我感觉js里面的对象和其他语言里面的用法差了很远。&#10;除了字符串、数字、true、false、null和undefined之外，js中的值都是对象&#10;对象是可变的，是通过引用来操作对象的，对象的属性可以变动，甚至还有属性的特性(writable\enumerable\configurable)&#10;对象都拥有的三个相关的对象属性(protoype\class\extensible flag)&#10;三类对象(native obj\host obj\user-defined obj)，两类属性(own property\inherited property)&lt;/p&gt;</description></item></channel></rss>