What do you think the following code does?
function fn(msg, time) {
setTimeout(function() {
console.log(msg);
}, time);
}
fn('it works', 1000);| # Spotify's Anti-Adveritsing blocking servers, tricking services to stop music services (DONT BLOCK THESE!): | |
| gcdn.2mdn.net | |
| r9---sn-n4v7kn76.c.2mdn.net | |
| gew1-accesspoint-b-zzfg.ap.spotify.com | |
| ns1.p23.dynect.net | |
| ns3.p23.dynect.net | |
| ns4.p23.dynect.net | |
| dns1.p07.nsone.net | |
| dns2.p07.nsone.net | |
| dns3.p07.nsone.net |
What do you think the following code does?
function fn(msg, time) {
setTimeout(function() {
console.log(msg);
}, time);
}
fn('it works', 1000);