zenika-open-source/immutadot

Slice: explicit 0 index doesn't work

nlepage opened this issue ยท 1 comments

Description

Specifying an explicit 0 index to the slice navigator doesn't work.

Only for bugs ๐Ÿ›

Version : master

Expected behavior

get({ prop: [1, 2] }, 'prop[0:]')
// -> [1, 2]

Actual behavior

get({ prop: [1, 2] }, 'prop[0:]')
// -> []

This is a regression in #337 so it is not in 2.0.0-alpha.1