79502563

Date: 2025-03-12 03:17:20
Score: 0.5
Natty:
Report link

RegEx is part of the answer. Also use eval() to execute the argument string.

function myFunction() {
    return "Hello World!";
}
console.log(eval("myFunction{}".replace(/\{\}/, '()')));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: roannav