diff --git a/index.js b/index.js index 741920c..7c5cddf 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,5 @@ -export default function dlv(obj, key, def, p) { - p = 0; - key = key.split ? key.split('.') : key; - while (obj && p