Skip to content

Commit 47eb125

Browse files
committed
🔥 Remove unused functions
This change removes unused utility functions that were accidentally included in #40
1 parent b89153c commit 47eb125

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎lib/json0.js‎

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

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

0 commit comments

Comments
 (0)