Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
ianjsikes
· 5y ago · 0 comments
The cheaty way is `let copy = JSON.parse(JSON.stringify(val))`. Doesn't work for functions or cyclic structures though.
Comments
No comments yet.
Better HN