Module: util

Contains several miscellaneous utility classes.

Ported from Java Util.

Classes

Random
Timer
TimerTask

Methods

(static) deepCopy(value) → {*}

Creates a deep copy of a value.

Parameters:
Name Type Description
value *

The value to copy.

Returns:

The deep copy of the value.

Type
*

(static) deepMerge(target, source) → {*}

Merges two objects deeply.

Parameters:
Name Type Description
target *

The object to merge into.

source *

The object to merge.

Returns:

The merged object.

Type
*