MCPcopy 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
43function getFileName(str) {
44 return str.substring(str.lastIndexOf('/') + 1);
45}
46

Callers 1

downFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected