Blog

Archive for the JavaScript Category


String Padding and Trimming
Posted on September 10, 2020 in JavaScript by Matt Jennings

The code below was added to the JavaScript library in ES2017 (string padding) and ES2019 (string trimming).

.padStart();

// Code below works
Read more…


Tagged Template Literals
Posted on September 10, 2020 in JavaScript by Matt Jennings

Definition

The ability to run a template string through a function, and have control how the actual template string is made,
Read more…


Template Strings
Posted on September 10, 2020 in JavaScript by Matt Jennings

Template Strings areĀ also called String Interpolation, and used in other programming languages like C#.

Code example:

var name = “Kyle Simpson”;
var email
Read more…


Functional Programming from Four Semesters of Computer Science in 5 Hours by Brian Holt
Posted on August 27, 2020 in Algorithms, JavaScript by Matt Jennings

Functional Programming Concepts

Avoid side effects, or keep functions pure.
Use Higher-Order Functions, which are functions that receives a function an as
Read more…


Implementing Data Structures from Four Semesters of Computer Science in 5 Hours by Brian Holt
Posted on August 26, 2020 in Algorithms, JavaScript by Matt Jennings

Array List (in Java, NOT JavaScript)

The ArrayList class extends AbstractList and implements the List interface. ArrayList supports dynamic arrays that
Read more…

To Top ↑