Comment supprimer la dernière lettre js
const text = 'abcdef'
const editedText = text.slice(0, -1) //'abcde'
Your Black Hole
const text = 'abcdef'
const editedText = text.slice(0, -1) //'abcde'