79563082

Date: 2025-04-08 21:32:53
Score: 1
Natty:
Report link

If you want to clone just the array object container just use slice:

const a = [1,2,3,4];
const b = a.slice(0); // another array object containing the same content

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: gleitonfranco