Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ getFileName
Function
getFileName
assets/js/Image_editor.js:43–45 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
41
}
42
43
function
getFileName(str) {
44
return
str.substring(str.lastIndexOf(
'/'
) + 1);
45
}
46
Callers
1
down
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected