assocPath and Symbols
Author: char0nCreated Mar 21, 2017Updated Jan 20, 2025
Labels1.0 discussion
Hi,
Maybe related to #1555 but, when assocPathing objects with symbols, these symbols are lost.
POC:
R.assocPath(['test'], 5, {test: 3, [Symbol.for('symbol')]: 4}); // => {test: 5}Source: ramda/ramda