Archive for the ‘es6’ Category

Using Default Parameters in ES6

Posted on: No Comments
I’ve recently begun doing more research into what’s new in JavaScript, catching up on a lot of the new features and syntax improvements that have been included in ES6 (i.e. ES2015 and later). You’ve likely heard about and started using the usual ...

Get the Ultimate Web Development Beginner Bundle for Only $29

Posted on: No Comments
So you've dreamed of being a web dev, but don't know where to start? Well have we got good news for you? For 48 hours only you can get our ultimate beginner bundle in web development for just $29 (that's a saving of $435 BTW!) What Are You Waiting For?...

Progressive Web Apps: A Crash Course

Posted on: No Comments
Progressive Web Apps (PWAs) try to overlap the worlds of the mobile web apps and native mobile apps by offering the best features of each to mobile users. They offer an app-like user experience (splash screens and home screen icons), they're served fro...

Progressive Web Apps: A Crash Course

Posted on: No Comments
Progressive Web Apps (PWAs) try to overlap the worlds of the mobile web apps and native mobile apps by offering the best features of each to mobile users. They offer an app-like user experience (splash screens and home screen icons), they're served fro...

Build a React App with User Authentication in 15 Minutes

Posted on: No Comments
This article originally appeared on the OKTA blog. Thank you for supporting the partners who make SitePoint possible. React has quickly become one of the most favored front-end web frameworks, and is second only to plain old HTML5, according to JAXent...

JavaScript Functions That Define and Rewrite Themselves

Posted on: No Comments
The following is a short extract from our new book, JavaScript: Novice to Ninja, 2nd Edition, written by Darren Jones. It's the ultimate beginner's guide to JavaScript. SitePoint Premium members get access with their membership, or you can buy a copy ...

Hello, World! Your First JavaScript Programs

Posted on: No Comments
The following is a short extract from our new book, JavaScript: Novice to Ninja, 2nd Edition, written by Darren Jones. It's the ultimate beginner's guide to JavaScript. SitePoint Premium members get access with their membership, or you can buy a copy ...

JavaScript Design Patterns: The Observer Pattern

Posted on: No Comments
In JavaScript, there is a problem that comes up often. You need a way to update parts of a page in response to certain events, with the data these provide. Say, for example, user input that you then project into one or many components. This leads into ...

A Beginner’s Guide to Testing Functional JavaScript

Posted on: No Comments
Functional programming and testing. Maybe you've given them a try in isolation, but somehow you never made either a part of your regular practice. They may sound innocent by themselves, but together testing and functional programming can create an irre...

Exploring ES2017 Decorators in JavaScript

With the introduction of ES2015+, and as transpilation has become commonplace, many of you will have come across newer language features, either in real code or tutorials. One of these features that often has people scratching their heads when they fir...