News

The Dilemma of Context Binding One of the most notable features of arrow functions is that they do not bind their own this; instead, they inherit the this value from the outer scope. This can simplify ...
First, the most significant feature of arrow functions is that they do not bind their own this, but inherit the this value from the outer scope. At first glance, this may seem like an advantage, but ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Ludovic Henry explains how RISC-V's open ...
Today at Microsoft's Ignite 2017 conference, the company announced some improvements to Excel during the keynote. They were kind of glossed over, but during a session later on in the day, it expanded ...
Functional programming, as the name implies, is about functions. While functions are part of just about every programming paradigm, including JavaScript, a functional programmer has unique ...
While JavaScript has many applications, working with string values is one of the most popular. Strings are objects within the JavaScript language. They are not stored as character arrays, so built-in ...
So, I have an SVG graphic embedded in an html page.<BR><BR>within the svg are some mouseover events that do some re-drawing stuff.<BR><BR>Now I want the containing page to also make some updates as a ...
Peter looks at how to call a JavaScript function from your TypeScript code and do it in a type-safe way. Along the way, he dramatically simplifies a Backbone application by integrating Knockout. I ...
‘Higher-order functions’ is a fancy term for functions that take other functions as arguments or that return functions. Very powerful! Last week, I casually dropped the term “higher-order function” ...