ES6 In Depth: Arrow functions – Mozilla Hacks – the Web developer blog
ES6 In Depth is a series on new features being added to the JavaScript programming language in the 6th Edition of the ECMAScript standard, ES6 for short. Arrows have been ...
ES6 In Depth: Template strings – Mozilla Hacks – the Web developer blog
ES6 In Depth is a series on new features being added to the JavaScript programming language in the 6th Edition of the ECMAScript standard, ES6 for short. Last week I ...
Welcome to the second part of my series about ECMAScript 6! One of my favorite new web standards of Microsoft Edge, the new browser rendering engine we’re creating at Microsoft, is the...
The Fat Arrow Points This Way: Easy ES6 Goodies for Busy JavaScript Develop
In the beginning, there was LiveScript, begat by Brendan Eich. Tasked by the Netscape skybeards to create a scripting language to grant unto designers and programmers of the early World Wide Web the ability to assemble unto the browser components, yea such as images and plugins, whose code could be written directly unto the page…
Managing State in CSS with Reusable JavaScript Functions | CSS-Tricks
Determining the most efficient way of managing state can be a challenging issue in CSS, but thankfully there are many OOCSS-based methodologies out there which provide some good solutions. This article is all about managing the attributes that help with state through JavaScript in efficient ways.
JavaScript: Design Patterns | Sparkbox | Web Design and Development
Want to write cleaner, more organized JavaScript? Learn about commonly used design patterns in JavaScript and see practical examples of JS design patterns in use.
There’s a certain kind of old-school, backend web developer who, a long time ago, mastered things like Perl or Python or PHP or Java Server Pages, maybe ...
We've been talking about writing less complex JavaScript. We do this by choosing the right abstraction to solve a problem. But how do you know which abstraction to use? So far, we haven't looked at any concrete examples of how to do this. In this article we look at how to deal with JavaScript arrays, without using any loops. The end result is less complex code.
Constant confusion: why I still use JavaScript function statements
Back in the late 90’s — when I learned JavaScript — we were taught to write the “Hello World” function using a function statement. Like this… function helloWorld() { return ‘Hello World!’; }These days it seems all the cool kids are writing the “Hello World” function like this… const helloWorld = () => 'Hello
How to build a random quote generator with JavaScript and HTML, for absolut
by Sophanarith Sok How to build a random quote generator with JavaScript and HTML, for absolute beginnersThis tutorial is intended for beginners who want to learn how to create a simple web application using JavaScript. It will help you understand the interaction between JavaScript and an HTML document, and how
Quick Tip: What Are Factory Functions in JavaScript
Dan Prince looks at factory functions in JavaScript, examining the different types, their use cases & how they allow us to separate data from computations.
Closures are a fundamental JavaScript concept that every serious programmer should know inside and out. The Internet is packed with great explanations of “what” closures are, but few deep-dive into the “why” side of things. I find that understanding the internals ultimately gives developers a stronger grasp of their tools,