Deep copy of Array

    0

    18

    anastasiia-tilikina

    This code will parse the JSON stringified version of the array arr1 and return the values.

    Filename pattern: *.js

    JSON.parse(JSON.stringify(arr1));
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.