awesome-coding-js icon indicating copy to clipboard operation
awesome-coding-js copied to clipboard

深拷贝与浅拷贝

Open JLUssh opened this issue 1 year ago • 0 comments

深拷贝中的cloneOtherType方法是否有误? new Ctr(tar); 如果这个tar是new Boolean(false)等,new Ctr(tar) 这样得到的值为true... (好像只有这一个特例....

JLUssh avatar Jul 25 '24 10:07 JLUssh