• Resolved Bakhshi

    (@bakhshi)


    Hi
    Please look at function(A):

    (function(A){
    var calculatedValue = [“0.36″,”0.38″,”0.57”];

    return calculatedValue[fieldname2];
    })()

    function(A) in the Browser view page source =====>>>>>

    (function(A){\n

    var calculatedValue = [\u00220.36\u0022,\u00220.38\u0022,\u00220.57\u0022];\n

    return calculatedValue[fieldname21];
    \n}()

    ———————————————————————-

    When I put an array’s numbers in quotation marks:
    For example: “0.36”
    The numbers are displayed in the browser view page source like this:
    \u00220.36\u0022
    This is good for me, because users cannot understand the values!
    But this message appears in the browser console:

    The specified value “\u00220.36\u0022.” is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?

    The plugin has no problem and the calculations are well done!
    Does it have an impact on computing?
    What problems will happen if I don’t pay attention to this message?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘quotation marks’ is closed to new replies.