Ad
  • Custom User Avatar

    Your (sic) are given a function as a string

    "a = function(){return 1+53+324-2344*90}"

    That's not a function, that's an assignment expression where the right hand side happens to be a function.

    The kata is clear as mud in what exactly it wants us to do. The specification is severely lacking; limits, if any, are missing; there's a puzzle tag that means we might encounter anything, and author's rank estimate is 3kyu. Abandon all hope, ye who enter here. Prepare for Armageddon. But then you only have to jump through a reasonably-sized hoop to solve it.