mirror of
https://github.com/zyachel/quetre.git
synced 2025-04-04 13:37:39 +03:00
3 lines
78 B
JavaScript
3 lines
78 B
JavaScript
export const basename = (path) => {
|
|
return path.split('/').reverse()[0];
|
|
}
|