Skip to content

Commit

Permalink
🔥 Remove unused functions
Browse files Browse the repository at this point in the history
This change removes unused utility functions that were accidentally
included in #40
  • Loading branch information
alecgibson committed Jul 13, 2021
1 parent b89153c commit 47eb125
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 47eb125

Please sign in to comment.