Category Archives: JavaScript
ECMAScript 5.1 Section 4 – Overview Part 3
Objects JavaScript does not have classes like some other popular languages, it has objects. Objects can be created in various ways, including a literal syntax for directly creating them. If you want in object in your program, you just create it. Object Literals Here is how you create an object with an object literal: person […]
ECMAScript 5.1 Section 4 – Overview Part 2
JavaScript is a language that is all about objects. A JavaScript object is simply a collection of name-value pairs called properties, and each one of those properties has attributes that specify how that property can be accessed, updated, deleted, etc. There are rules about what the name of a property can be, and the value […]
ECMAScript 5.1 Section 4 – Overview Part 1
Section 4 of the ECMAScript 5.1 spec is a “non-normative” overview of the language, which just means it is a summary of the formal definition of the language. Terminology When I say JavaScript, I am talking about a conforming implementation of the ECMAScript spec, of which there are many. Since the spec allows for custom […]
ECMAScript 5.1 Section 1, 2 and 3 – Scope, Conformance and Normative References
The first 3 sections of ECMAScript 5.1 are pretty short, but lay the foundation for the definition of the language. Section 1: Scope This section is super short — here is the whole thing: “This Standard defines the ECMAScript scripting language.” Okay, got it. Section 2: Conformance This section is just 4 paragraphs: Conforming Implementations […]
Become a JavaScript Expert by Understanding the Specification
JavaScript is an amazing language because it can be very simple, but it also contains the elements to become very powerful. In this blog, I am planning to write about all things JavaScript, including the language itself, the browsers, the DOM, frameworks, projects, W3C API’s, the server side and anything else that can make you […]