/ LJCJSCodeDoc / LJCDBAccessLib / LJCJoinOn / Clone


Returns

The new cloned object.

Syntax

JavaScript
Clone()

Creates an object clone.

Example

JavaScript
// Creates a clone of this object.
Clone()
{
  const fromColumn = "FromColumn";
  const toColumn = "ToColumn";
  const joinOn = new LJCJoinOn(fromColumn, toColumn);

  let clone = joinOn.Clone();
  const result = clone.FromColumnName;

  // result:
  // FromColumn
}

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