We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b89153c + 47eb125 commit 73db17eCopy full SHA for 73db17e
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