Ad
Strings
Data Types
Code
Diff
  • const lastChar = ([...s]) => s.pop();
    
    • const lastChar=s=>[...s].pop()
    • const lastChar = ([...s]) => s.pop();