zenika-open-source / immutadot

immutadot is a JavaScript library to deal with nested immutable structures.

Home Page:https://immutadot.zenika.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apply should support array paths

nlepage opened this issue · comments

Example

set({ english: { greeting: 'Hi' } }, [['prop', 'english'], ['prop', 'greeting']], 'Hello')

// Support simplified for prop and index
set({ english: { greeting: 'Hi' } }, ['english', 'greeting'], 'Hello')