by tentacleuno · 4y ago · 0 comments
One more: If you set an image's src attribute to the same thing, it'll still reload the image.
const image = new Image("/img.png"); document.body.append(image); image.src = image.src;