10 Curiosities about Javascript

Today we are going to take the opportunity to learn a little more about Javascript, and we begin with the definition:

JavaScript is a interpreted programming language, dialect of the standard ECMAScript. is defined as object oriented,3 prototype-basedimperative, weakly typed and dynamic.

It is mainly used in its form of the client-side, implemented as part of a Web navigator allowing improvements in user interfaceweb dynamics, although there is a form of JavaScript server side (Server-side JavaScript or SSJS). Its use inapplications external to the websites, for example in documents PDF, desktop applications (mostly widgets) is also significant.

To continue with the curiosities about this programming language:

  1. Null is an object
  2. NaN is a number
  3. array () '==' False is true
  4. The function replace () accept as parameter callback functions
  5. The regular expressions can be tested with test () in addition to with match ()
  6. You can falsify the scope of a variable or function
  7. Functions can execute themselves
  8. Firefox it does not read and return the colors in hexadecimal but in RGB
  9. 0.1 + 0.2 '! ==' 0.3
  10. Undefined can be defined, that is, it is not a reserved word

And with this we are done. Complete entry about Javascript and on top of it fun with curiosities, not to mention ...

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.