i was just reading a security article about ransomware. There was a paragraph which links to a FBI page which advises to pay the ransom. linked FBI page
Take these 2 examples:
var A = function() { this.hey = function() { alert('from A') } };
vs.
var A = function A {}
A.prototype.hey = function() { alert('from prototype') };
Most people here (especially the top-rated answers) tried to explain how they are different without explaining WHY. I ...