Remove Duplicate Values In Array Javascript Length Method Js