Message from JavaScript discussions

February 2019

β€” Assign default value comrrade🀀 is readFile async? wat it does?

β€” 

function readFile(file, callback){
var reader = new FileReader();
reader.onload = callback
reader.readAsDataURL(file);
}

β€” 

$(".input").change(function(e) {
var self = this;
readFile(this.files[0], function(e) {
// ...
// ...
$(self).closest(".parent").find(".img").attr('src', e.target.result);
});
});

Message permanent page

β€” Thank you work like charm

β€” Nice bro, now get the fuck out

β€” Https://en.wikipedia.org/wiki/Ponzi_scheme

β€” elxris

β€” TRGWII i am invoking your rambda knowloedge

β€” Https://ramdajs.com/repl/?v=0.26.1#?const%20a%20%3D%20%5B%201%2C%202%2C%203%2C%204%2C%205%2C%206%2C%207%2C%208%2C%209%20%5D%3B%0Aconst%20groupsSize%20%3D%203%3B%0A%0A%2F%2F%20output%20should%20be%3A%20%5B%5B1%2C%204%2C%207%5D%2C%20%5B2%2C%205%2C%208%5D%2C%20%5B3%2C%206%2C%209%5D%5D%0A%0Aconst%20groups%20%3D%20R.splitEvery%28groupsSize%2C%20a%29%3B%0AR.zip%28groups%5B0%5D%2C%20R.zip%28groups%5B1%5D%2C%20groups%5B2%5D%29%29%3B

Message permanent page

β€” Hmm

β€” I can't solve this

β€” 

const groups = R.splitEvery(groupsSize, a);
R.concat([],groups)