Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Promoted
?
Lv 4
Javascript 'Image' was used before it was defined?
I am getting this error:
'Image' was used before it was defined
This is the code:
var img1 = new Image();
I am trying to figure out Javascript. I thought that Image() is a built in object. Do I have to import something like how you would in Java.
How do I use this object?
1 Answer
Relevance
Still have questions? Get your answers by asking now.