DEV Community

Discussion on: 5 useful tips about the JavaScript array sort method

Collapse
 
srikanth74659 profile image
Srikanth

Great article...always love your explanation..Also i believe the first code for the second tip " array.reverse() " should be " console.log(arr.reverse()) " based on the followed output..Anyways thanks

Collapse
 
atapas profile image
Tapas Adhikary

Thanks sidharth. Shall change it shortly.