Skip to content

Commit

Permalink
Merge pull request #43 from reedsy/unused-utils
Browse files Browse the repository at this point in the history
🔥 Remove unused functions
  • Loading branch information
nornagon authored Jul 13, 2021
2 parents b89153c + 47eb125 commit 73db17e
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 @@ -43,16 +43,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 73db17e

Please sign in to comment.