util


Module hilo/util/util Source util.js
util method set

Methods

Method Defined
copy(target:Object, source:Object, strict:Boolean):Object
static Simple shallow copy objects.
util

Method Detail

[Static] copy(target:Object, source:Object, strict:Boolean):Object
Simple shallow copy objects.
parameters
target:Object — Target object to copy to.
source:Object — Source object to copy.
strict:Boolean — Indicates whether replication is undefined property, default is false, i.e., undefined attributes are not copied.
return
Object — Object after copying.