Note 2. ECMAScript. Equality operators.

< ! --start donate block -->

< ! -- end donate block -->

In this small note we clarify some technical features related with equality operators.

As we know in ECMAScript equality can be non-transitive. Continue reading

Note 1. ECMAScript. Bound functions.

< ! --start donate block -->

< ! -- end donate block -->

As we know, ECMA-262-5 standardized bind method of the Function.prototype. The source of the current version of this method is “Prototype.js” library, although, the standardized version has several differences. This approach is well known and was successfully used in ES3, so the main purpose of the current note is to show the technical details and differences (which can cause confusing) of the ES5 implementation. Continue reading

Note 0. Intro.

The “Notes” section is just a collection of small notes, which are not required a big complete chapter or if the topic of a discussion does not touch exactly some fundamental aspects. Nevertheless, being not about fundamental topics, the notes will describe some essential questions. They can be small or still detailed. Continue reading

ECMA-262-5 in detail. Chapter 2. Strict Mode.

< ! --start donate block -->

< ! -- end donate block -->

Introduction

In this chapter we will concentrate on another feature of the ECMA-262-5. The topic of the discussion is a strict variant (or strict mode) of an ECMAScript program. We’ll discuss the reasons for providing this feature, how it affects on some already existing semantic aspects and what can it restrict. Continue reading