Get the Last Array Item in JavaScript | CodeTrail