<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[日常总结]]></title><description><![CDATA[一条有咸鱼的梦想~]]></description><link>https://blog.youkuaiyun.com/mengyayeah</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; mengyayeah]]></copyright><item><title><![CDATA[JS的六种继承方式]]></title><link>https://blog.youkuaiyun.com/mengyayeah/article/details/80365489</link><guid>https://blog.youkuaiyun.com/mengyayeah/article/details/80365489</guid><author>mengyayeah</author><pubDate>Mon, 21 May 2018 21:09:59 +0800</pubDate><description><![CDATA[在说继承方式之前，先来了解下js中几个较为抽象的概念。

原型和原型链

在js中万物皆对象，对象又分为两种：普通对象（Object）和函数对象（Function）。

任何对象都具有隐式原型属性（__proto__），只有函数对象有显式原型属性（prototype）。

原型链：原型链是针对原型对象的，在查找实例属性时，现在实例中查找，如果没有找到，再到obj.__proto__（=f1.pro...]]></description><category></category></item><item><title><![CDATA[:nth-child()和:nth-of-type()选择器的区别]]></title><link>https://blog.youkuaiyun.com/mengyayeah/article/details/79942990</link><guid>https://blog.youkuaiyun.com/mengyayeah/article/details/79942990</guid><author>mengyayeah</author><pubDate>Wed, 25 Apr 2018 17:37:20 +0800</pubDate><description><![CDATA[p:nth-child(2) 要求该元素是p元素，且是父元素的第二个子元素p:nth-of-type(2) 要求该元素是父元素下的第二个p元素类似的还有，:nth-last-child、:nth-last-of-type:last-child、:last-of-type...]]></description><category></category></item></channel></rss>