After JQ $.extend (true, [], obj) is executed many times, the original variable will still be changed.

let obj1=$.extend (true, [], obj) is executed many times, and after changing the obj1 many times, the obj will also be changed. How to solve this?

Mar.11,2021

according to reason, modifying obj1 will not affect obj. Can you show the complete code?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb134c-480f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb134c-480f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?