Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ecmascript 5

For Javascript, What Prevents Modern Implementation Not To Treat Arguments As A Real Array?

I think it is an old Javascript behavior (Crockford said it is a design error) that inside a functi… Read more For Javascript, What Prevents Modern Implementation Not To Treat Arguments As A Real Array?

Null Vs. Undefined And Their Behaviour In Javascript

So after a big argument/debate/discussion on the implementation of null and undefined in javascript… Read more Null Vs. Undefined And Their Behaviour In Javascript

How To Simplify Javascript/ecmascript Array Literal Production?

I currently implementing a JavaScript/ECMAScript 5.1 parser with JavaCC and have problems with the … Read more How To Simplify Javascript/ecmascript Array Literal Production?

Custom Prototype Chain For A Function

I am just curious whether I can include an object into function prototype chain. What I mean: var t… Read more Custom Prototype Chain For A Function

How Can Ecmascript Assignmentexpression Production Rule Produce `foo = 42`?

As the spec states (yes, 5.1, that's intentional): AssignmentExpression : ConditionalExpre… Read more How Can Ecmascript Assignmentexpression Production Rule Produce `foo = 42`?

Manipulating A Complex Object Based On An Input Array

I have an complex object and based on an input array I need to modify properties inside of this com… Read more Manipulating A Complex Object Based On An Input Array