Skip to content

Commit d039642

Browse files
authored
Merge pull request #7 from reedsy/unused-functions
🔥 Remove unused functions
2 parents eb883ee + 554b9b8 commit d039642

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/json0.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ var clone = function(o) {
4545
return JSON.parse(JSON.stringify(o));
4646
};
4747

48-
var validateListIndex = function(key) {
49-
if (typeof key !== 'number')
50-
throw new Error('List index must be a number');
51-
};
52-
53-
var validateObjectKey = function (key) {
54-
if (typeof key !== 'string')
55-
throw new Error('Object key must be a number');
56-
};
57-
5848
/**
5949
* JSON OT Type
6050
* @type {*}

0 commit comments

Comments
 (0)