refactor with ternary and small example

This commit is contained in:
Henry Szeto
2018-07-08 15:24:11 -07:00
parent 8ee6efc01a
commit 162fe2599b
5 changed files with 1944 additions and 1945 deletions

6
test/dig/dig.test.js Normal file
View File

@ -0,0 +1,6 @@
const expect = require('expect');
const dig = require('./dig.js');
test('dig is a Function', () => {
expect(dig).toBeInstanceOf(Function);
});