const a = [1,2,3];
const b = a.reverse();
const c = b.reverse();
const d = c.reverse();
const e = [1,2,3];
console.log(a === b, b === c, a === c, d === a, d === b, e === a);
Ответ: true true true true true false
JavaScript test | #JavaScript
JA JavaScript test @js_test · 9.68K subscribers const a = [1,2,3];
const b = a.reverse();
const c = b.reverse();
const d = c.reverse();
const e = [1,2,3];
console.log(a === b, b === c, a === c, d === a, d === b, e === a);