Blog


Prime Number Checker in JavaScript
Posted on June 19, 2019 in Algorithms, JavaScript by Matt Jennings

In JavaScript, Write a Function that Returns true or false if a Number is Prime

function checkPrime(num) {
var primeCheckerArr =
Read more…


Find Unique Characters in a String
Posted on June 19, 2019 in Algorithms, JavaScript by Matt Jennings

Find the First Non-repeating Character in a String

var string = ‘what a wonderful day it has been!’;

function firstNonRepeatedChar(str) {

Read more…


Joys of JavaScript (UW Coding Bootcamp Session)
Posted on June 1, 2019 in JavaScript by Matt Jennings

Primitive Variables

Types of primitive values:

Numbers
Strings
Booleans
undefined
null
Symbol() (ES6)

confirm vs prompt

// confirm only returns a Boolean of true or false
// depending on if
Read more…


Data Structures: Objects and Arrays
Posted on May 28, 2019 in JavaScript by Matt Jennings

Note: Information below was taken from Eloquent JavaScript, 3rd edition, Chapter 4 Data Structures: Objects and Arrays.

Objects allow
Read more…


JavaScript Functions
Posted on May 27, 2019 in JavaScript by Matt Jennings

Note: Information below was taken from Eloquent JavaScript, 3rd edition, Chapter 3 Functions.

Function Definition

A function definition is a
Read more…

To Top ↑