摘要:
In my opinion, there are two big things in Javascript's world - Closure and Prototype.
Question 1.
What does Prototype do in JavaScript?
In a single word, it's a feature that aimed at reducing code duplication.
We all know in computer world there is a famous philosophy - Don't Repeat Yourself.
In classic object-oriented languages such as c++/c#/java, we have inheritance to encapsulate some common methods into a super class to reduce code lines.
But in JavaScript, there is no concept o 阅读全文
摘要:
Today, hans notify me that there is a persistent storage solution in client-side in the form of jQuery plug-in called jStore. 阅读全文