JavaScript array

I am watching a tutorial video where an array was created and some images where assigned from an online link, but I don’t want to use the image from online , I have some images on my system and that what I want to use but I don’t know how?

Can you provide the code? Then we can help you.

Closing this as a duplicate topic