ES5 space-infix-ops

This commit is contained in:
Amine Ben hammou
2017-09-21 09:09:29 +00:00
parent 28504fb5e3
commit b1a403d9b5
8 changed files with 50 additions and 51 deletions

View File

@ -76,7 +76,7 @@ define(
for (; i <= keys_last; i++) {
key = keys[i] === '' ? cur.length : keys[i];
cur[key] = i < keys_last
? cur[key] || (keys[i+1] && isNaN(keys[i+1]) ? {} : [])
? cur[key] || (keys[i + 1] && isNaN(keys[i + 1]) ? {} : [])
: val;
cur = cur[key];
}