@pengzhanbo/utils - v3.4.1
    Preparing search index...

    Function simpleClone

    • simple clone, use JSON.parse and JSON.stringify

      简单的克隆,使用 JSON.parse 和 JSON.stringify

      Type Parameters

      • T = any

      Parameters

      • source: T

        The source data to clone. 要克隆的源数据

      Returns T

      The cloned data. 克隆后的数据