We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b89153c commit 47eb125Copy full SHA for 47eb125
1 file changed
‎lib/json0.js‎
@@ -43,16 +43,6 @@ var clone = function(o) {
43
return JSON.parse(JSON.stringify(o));
44
};
45
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
56
/**
57
* JSON OT Type
58
* @type {*}
0 commit comments