文章分类 - javascript
【总结】IE和Firefox的Javascript兼容性总结
摘要:长久以来JavaScript兼容性一直是Web开发者的一个主要问题。在正式规范、事实标准以及各种实现之间的存在的差异让许多开发者日夜煎熬。为此,主要从以下几方面差异总结IE和Firefox的Javascript兼容性: 一、函数和方法差异; 二、样式访问和设置; 三、DOM方法及对象引用; 四、事件处理; 五、其他差异的兼容处理。一、函数和方法差异1. getYear()方法【分析说明】...
阅读全文
Javascript LRU Cache
摘要:IntroductionJust a simple LRU cache written in javascript. It is loosely based on ASP.NET's Cache, and includes many caching options such as absolute expiration, sliding expiration, cache priority, an...
阅读全文
浙公网安备 33010602011771号