Message from JavaScript discussions

February 2019

— 

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

Message permanent page

— 

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

— 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)

— Or:

[…groups]