Clean up after merging master into next-v5.0 (#3956)
Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
function mapValues(obj, fn) {
|
function mapValues(obj, fn) {
|
||||||
return Object.fromEntries([...Object.entries(obj)].map(([k, v]) => [k, fn(v)]));
|
return Object.fromEntries(Object.entries(obj).map(([k, v]) => [k, fn(v)]));
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
Reference in New Issue
Block a user