Skip to main content
Module

x/ramda/mod.ts>assoc

:ram: Practical functional Javascript
Latest
variable assoc
import { assoc } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Makes a shallow clone of an object, setting or overriding the specified property with the given value. Note that this copies and flattens prototype properties onto the new object as well. All non-primitive properties are copied by reference.