Dapatkan JavaScript Nama File Saat Ini

var path = window. location. pathname;
var page = path. split("/"). pop();
console. log( page );
Red Team