News for hackers. Stuff that matters.
Re:Show HN: Speedsums by lukaszg on Saturday February 08, 2014 @01:51PM (#7202100)
// run in firebug and click & enter input... $('#answer').click(function(e){ var value = eval($('#question').text().replace('=', '').replace('÷', '/').replace('x', '*').replace(/\s/g, '')); console.log($('#question').text() + value); this.value = value; })

There are no comments on this comment yet.