we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "how remove last letter js"
Vanessa
19 Mar 2017
1const text = 'abcdef'
2const editedText = text.slice(0, -1) //'abcde'