diff --git a/lib/json0.js b/lib/json0.js index a93ffe4..9f538ee 100644 --- a/lib/json0.js +++ b/lib/json0.js @@ -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 {*}