More than 5 years have passed since last update.
"hoge.mp3".split(".").pop();
Register as a new user and use Qiita more conveniently