Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for answer to How do I turn a string into a function? by lukas.pukenis

Current License: CC BY-SA 3.0

Post Revisions

6 events
when toggle format what by license comment
Nov 13, 2013 at 18:54 vote accept Community Bot
Nov 4, 2013 at 18:44 comment added user2953222 @SLaks The website doesn't show the KIND of the error, just the error itself. But sometimes, it will say "TypeError: 'undefined' is not a function" or "ReferenceError: rect is not a function`. rect is a function, a built-in function. Here is the link: khanacademy.org/cs/new
Nov 4, 2013 at 17:40 comment added SLaks @raumaankidwai: What error do you get? If you're getting a CSP error, that means that the website has specifically asked the browser to make it impossible for you to do this.
Nov 4, 2013 at 17:10 comment added lukas.pukenis IN this case my advice is this - create another question and post what do you want to achieve and what do you have. I haven't ever used my method here anywhere in my experience and used eval() just a few times I was lazy writing a parser for math equations so I believe your situation doesn't need neither of those.
Nov 4, 2013 at 17:06 comment added user2953222 Except ... some restrictions on the website (see comments on question) are not letting me do this. Is there another way?
Nov 4, 2013 at 16:46 history answered lukas.pukenis CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /