deleteImages = (images, index, onComplete) => {
const deleteAgain = (images, index, onCompleted) =>
this.deleteImages(images, index, onCompleted);
let splited_link = images[index].split("/")
let name = splited_link[splited_link.length - 1].split("?")[0].replace("banners%2F", "");
console.log(name)
}
Hello guys.
Guys please help i am junior. Error in my this code.
Uncaught TypeError: images[index].split is not a function
at HomeFragment.deleteImages (HomeFragment.js:375:1)
at delete (HomeFragment.js:480:1)
split is not a function split is not a function
images?