Documentation for a historical release of Infusion: 1.4
Please view the Infusion Documentation site for the latest documentation, or the Infusion 1.3. Documentation for the previous release.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

Skip to end of metadata
Go to start of metadata


Return an empty container as the same type as the argument (either an array or hash).


File name: Fluid.js


tocopy (Array|Object) The container to copy

Return Value

Object A new object that is the same type as tocopy.

See Also


var target = fluid.freshContainer(source);

This example creates an object that is the same type as source but is empty.

  • No labels