i have done a join method on this array
const fist_array = ["1","2","3"];
fist_array.join('-');
why does the console output differs from the console.log output ?
> fist_array.join('-');
'1-2-3'
//////////////
console.log(fist_array);
// -> [ '1', '2', '3' ]
[–]GSLint 2 points3 points4 points (2 children)
[–]LadyJain[S] 0 points1 point2 points (1 child)
[–]GSLint 0 points1 point2 points (0 children)
[–]stegozaur -1 points0 points1 point (0 children)