后来我决定要对 JavaScript进行更深入和更彻底的了解,这是一个真正的过山车 – 只是在我认为我得到某些东西的时候,有一些东西来证明我错了 – 我只是误解了.
比Stackoverflow更好地表达我的关注:我正在乞求一些资源和指针,它将是一些与以下Java概念相当的Javascript:
Class instance of a class - object Member variables Getters Setters Abstract Class Interface Inheritance Access Modifiers Constructors
我知道这些概念,但正如我所说 – 我相信我有一些概念上的困难.如果有人可以指出一个真正的JavaScript大师在这里精确定位这些概念的尝试,我会很高兴.
解决方法
所有这些科目都有超过stackoverflow的优秀职位,然后有MDN我也会建议对等流行图书馆的来源,如jquery.请参阅此源查看器http://james.padolsey.com/jquery/
这是伟大的John Resig的BRILLIANT交互式教程:
http://ejohn.org/apps/learn/
这里有一些非常好的SO帖子,帮助我更好地了解JS:
How to “properly” create a custom object in JavaScript?
What is the ‘new’ keyword in JavaScript?
Why is JavaScript prototyping?
Why is it necessary to set the prototype constructor?
Call base method in Javascript using Douglas Crockford’s functional inheritance
Help understanding jQuery’s jQuery.fn.init Why is init in fn
What does jQuery.fn mean?
Why ‘this’ resolution is so special in JavaScript?
What is the difference between call and apply?
Dynamic function call (apply)
JavaScript data formatting/pretty printer
Checking if a key exists in a JavaScript object?
这里有一些关于javascript的古怪的帖子和你不知道的东西:
Is it possible to reflect the arguments of a Javascript function?
function arguments
What is the !! (not not) operator in JavaScript?
How does this JavaScript/JQuery Syntax work: (function( window,undefined ) { })(window)?
Which equals operator (== vs ===) should be used in JavaScript comparisons?
Behavior of delete operator in javascript
var myArray =[],name;?
Why is null an object and what’s the difference between null and undefined?
Checking for null/undefined in JavaScript
What does the exclamation mark do before the function?