News for hackers. Stuff that matters.
Re:Show HN: Simple dynamic templating in JS by fiatjaf on Sunday April 29, 2018 @10:06PM (#16955186)
eval? You can't say that's elegant.
Re:Show HN: Simple dynamic templating in JS by jgalvez on Monday April 30, 2018 @08:28AM (#16957977)
Also, it runs for function definition only. It's not used for running code on-the-fly.
Re:Show HN: Simple dynamic templating in JS by sotaan on Monday April 30, 2018 @04:52AM (#16956901)
new Function(...) isn't equivalent to an eval