Know the JavaScript Version.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    Know the JavaScript Version.

    How do I get JavaScript version supported by working Browser?
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You don't need to know the JavaScript version number. Just check for the support of objects/properties/methods before you use them.

    Comment

    • dmjpro
      Top Contributor
      • Jan 2007
      • 2476

      #3
      Yeah i know but ... how do i know which version of JavaScript i am using ;)

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        why does it matter?
        (...)

        Comment

        • dmjpro
          Top Contributor
          • Jan 2007
          • 2476

          #5
          If i make any documentation then i should mention the version i am using ;)

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            That's not required really and although browsers claim support for a version number, not everything is supported and sometimes even basic older version parts are not supported properly. Just put down the assumptions you make and the browsers you've tested on.

            Comment

            Working...