Cristian Salcescu's Blog, page 6

July 14, 2021

From the Module Pattern to Factory Functions

Encapsulation with the module pattern, modules, and factory functions

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on July 14, 2021 23:02

July 13, 2021

How an Array-like Object Looks Like

Quick start with converting array-like objects to arrays

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on July 13, 2021 23:03

July 12, 2021

3 Ways to Work with Properties in a Dynamic Way

Object literal syntax, destructuring assignment, bracket notation, and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on July 12, 2021 23:02

July 11, 2021

How to Generate the Ability Scores for a D&D Character

Get-up-to-speed with Math.random, map & reduce array methods, and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on July 11, 2021 23:02

July 9, 2021

July 8, 2021

How to Loop Using the JavaScript Array Methods forEach and Every

This article looks at how to iterate over an array using the forEach and every methods.

Continue reading on JavaScript in Plain English »

 •  0 comments  •  flag
Share on Twitter
Published on July 08, 2021 02:52

July 6, 2021

4 Ways of Transforming a String Into an Array of Characters

The split method, spread operator, destructuring assignment, Array.from and more

Continue reading on JavaScript in Plain English »

 •  0 comments  •  flag
Share on Twitter
Published on July 06, 2021 13:47

July 5, 2021

3 Ways of Invoking a Method

Standard and conditional property access, conditional method invocation

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on July 05, 2021 23:01

July 4, 2021

3 Iterables Converted Into Arrays

Converting strings, sets, and maps into arrays

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on July 04, 2021 23:01

July 1, 2021

7 Predicate Functions for Cleaning an Array

isNumber, Number.isInteger, Array.isArray, isDefined, hasProp and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on July 01, 2021 23:02