/ LJCJSCodeDoc / LJCDBAccessLib / LJCDataColumns / Clone


Returns

The new cloned object.

Syntax

JavaScript
Clone()

Creates a clone of this object.

Example

JavaScript
// Creates a clone of this object.
Clone()
{
  const columns = new LJCDataColumns();
  let column = columns.Add("Name");
  column = columns.Add("Sequence");

  let clone = columns.Clone();
  const result = clone.Count;

  // result:
  // 2
}

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.