Javascript cloned object looses its prototype functions

前端 未结 4 960
无人共我
无人共我 2021-01-01 22:33

I am attempting to clone an object in Javascript. I have made my own \'class\' that has prototype functions.

My Problem: When I clone an object, the

4条回答
提交回复
热议问题