Skip to content

Commit

Permalink
Merge pull request #7 from reedsy/unused-functions
Browse files Browse the repository at this point in the history
🔥 Remove unused functions
  • Loading branch information
alecgibson authored Dec 21, 2021
2 parents eb883ee + 554b9b8 commit d039642
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/json0.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ var clone = function(o) {
return JSON.parse(JSON.stringify(o));
};

var validateListIndex = function(key) {
if (typeof key !== 'number')
throw new Error('List index must be a number');
};

var validateObjectKey = function (key) {
if (typeof key !== 'string')
throw new Error('Object key must be a number');
};

/**
* JSON OT Type
* @type {*}
Expand Down

0 comments on commit d039642

Please sign in to comment.