radash icon indicating copy to clipboard operation
radash copied to clipboard

`assign` does not handle `null` values well

Open anion155 opened this issue 1 year ago • 2 comments

const r = require('radash')
const result = r.assign({ a: {g:5} }, { a: null })
console.log(result)

Expected result would be { a: null }, but it is { a: {g:5} }

anion155 avatar Dec 22 '23 16:12 anion155