javascript - How can I get last characters of a string - YouTube

javascript - How can I get last characters of a string - YouTube