Javascript Remove Last Character From String By Ryan Medium

Javascript Remove Last Character From String By Ryan Medium