How to Remove Last Character from String in JavaScript

How to Remove Last Character from String in JavaScript