Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
    <head>
        <meta charset=utf-8>
        <title>JS Bin</title>
    </head>
    <body></body>
</html>
 
var URLs = [
    "http://placekitten.com/200/300",
    "http://placekitten.com/200/200",
    "http://placekitten.com/100/300",
    "http://placekitten.com/300/300"
];
var imgs = URLs.map(function(URL) {
    var img = new Image();
    img.src = URL;
    document.body.appendChild(img);
    return img;
});
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
creativitypro
0viewers