Skip to content

Instantly share code, notes, and snippets.

View tjdaley's full-sized avatar

Tom Daley tjdaley

View GitHub Profile
@tjdaley
tjdaley / dot-notation-setter-getter.js
Created February 1, 2017 03:40
Get or Set an object's property value based on a dot-notation key
/*
* dot-notation-setter-getter.js
*
* Created by Thomas J. Daley, J.D. on Jan 31, 2017
*
*/
"use strict";
/**
@tjdaley
tjdaley / soundex.js
Last active March 4, 2017 05:24
Javascript Soundex Implementation
/**
* Created by Tom on 7/4/2016.
* Revised for ES6 3/3/2017
*
* Algorithm, including test cases, taken from https://en.wikipedia.org/wiki/Soundex on 4 Jul 2016.
*/
function testSoundex()
{
const tests = [