Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Issue Links

        Activity

        Hide
        Freddy Mallet added a comment - - edited

        Works well Evgeny.

        Could you just update the description as follows :

        <p>The eval() function in javascript is a way to run arbitrary code at run-time. In almost all cases, eval should never be used. If it exists in your page, there is almost always a more correct way to accomplish what you are doing.
        
        The rule is, "Eval is evil." Don't use it unless you are an experienced developer and know that your case is an exception.</p>
        
        <p>
        The following code snippet illustrates this rule :
        </p>
        
        <pre>
        var myCode = 'alert("Howdy?");';
        eval(myCode);     //NOK
        </pre>
        
        Show
        Freddy Mallet added a comment - - edited Works well Evgeny. Could you just update the description as follows : <p>The eval() function in javascript is a way to run arbitrary code at run-time. In almost all cases, eval should never be used. If it exists in your page, there is almost always a more correct way to accomplish what you are doing. The rule is, "Eval is evil." Don't use it unless you are an experienced developer and know that your case is an exception.</p> <p> The following code snippet illustrates this rule : </p> <pre> var myCode = 'alert("Howdy?");'; eval(myCode); //NOK </pre>
        Hide
        Evgeny Mandrikov added a comment -

        Done.

        Show
        Evgeny Mandrikov added a comment - Done.
        Hide
        Freddy Mallet added a comment -

        Manually tested !

        Show
        Freddy Mallet added a comment - Manually tested !

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Evgeny Mandrikov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: