ES6 VAR, LET and CONST explained!

ES6 (ES2015) is one of the buzzwords in JavaScript nowadays. There are a lot of new features in it. Let’s watch the var, let and const! What is a VAR? VAR can be used for anything everywhere The var keyword can be used everywhere. You can put in all kinds of information. Strings, Int, Object, … Continue reading “ES6 VAR, LET and CONST explained!”

Reading time:

JavaScript Basics: Add something to the beginning of an array in JavaScript

How to add something (Object, Array, String, Number) to an Array in JavaScript. Well that is simply done with the `Array.push()` method.

How to add something (Object, Array, String, Number) to an Array in JavaScript. Well that is simply done with the `Array.push()` method.

Reading time:

The JavaScript array.forEach() method doesn’t return anything!

A while ago working on a cool Angular2 project I discovered some weird behavior, weird because I didn’t realise it was working that way. I was checking if an id property of an object, was already in an array. If it was, it won’t push it again. It is wasn’t in there, it could push … Continue reading “The JavaScript array.forEach() method doesn’t return anything!”

Reading time:

Handle PostCSS (with plugins) with NPM scripts

PostCSS becomes more and more popular these days. And yeah, why should we develop in these weird file extensions for Sass, Scss or Less. With PostCSS, we just stick to CSS extensions. That’s what I love about PostCSS! There are currently loads of plugins for to do the same magic as we were used to … Continue reading “Handle PostCSS (with plugins) with NPM scripts”

Reading time: