JavaScript

Generate an Object from …

If you’ve ever had an array of objects, each with a unique value, and would prefer to deal with a single object, this simple solution might help. Let’s say you received an array of objects, each object in the array has a unique name and value, along with a lot of other information that …

Hiding JavaScript Files …

Like a lot of JavaScript developers these days I’m writing mostly Typescript. If using VS Code as your IDE it can be helpful to hide or ignore the .js files that are generated. Here are the steps to hide the JavaScript files that are compiled during the development process in VS Code: Open the …

Update an Object Using …

There is a time in every programmers career when they need to update OR override a value or set of values in an object, for you that might be today. The Spread Operator introduced into the JavaScript language as part of the ECMAScript 6 (ES6) specification in 2015 is a powerful syntax. The spread …