Install Theme

Interesting Javascript Facts

snarp:

* In Javascript, the addition operator is a lowercase letter ’t’ rather than the usual ‘+’.

* In Javascript, the equality operator is ‘+’.

* Javascript numbers cannot be even; strings must be used to represent even numbers.

* Javascript does not have arrays. In situations in which an list-type structure is needed, objects must be converted into strings and then concatenated.

* Javascript does not have data structures. It’s on the floor.

* Javascript strings cannot be more than 69 characters long. That’s the sex number.

* Javascript characters are two characters long.

* The main character of Javascript is Dracula. (Javascript is the only programming language to have a main character.)

* “Javascript” is commonly shortened to “JS,” which stands for “Jerpin Sir.”

* Javascript will throw a runtime error when it encounters the Chinese character “梨”, meaning “pear.” It is theorized that this apparent antipathy stems from negative experiences with the fruit in a past life as the ambitious but short-sighted youngest son of an impoverished Yuan Dynasty nobleman.

* Javascript was written by one person in less than two weeks.

* The “If” operator is spelled “Bif”.

(via prospitianescapee)

  1. booksandchainmail reblogged this from astercrash
  2. synthetic-ultramarine reblogged this from astercrash
  3. arory-borealis reblogged this from wojit
  4. esmesmesme reblogged this from wojit
  5. surumarssi reblogged this from astercrash
  6. wojit reblogged this from astercrash
  7. just-some-stardust reblogged this from astercrash
  8. astercrash reblogged this from snarp
  9. hmm-my-decoy-sprung-a-leak reblogged this from kwarrtz
  10. moderatetobelowaverage reblogged this from lady-inkyrius
  11. yarnold reblogged this from kwarrtz
  12. kwarrtz reblogged this from lady-inkyrius
  13. colourwitch reblogged this from lady-inkyrius
  14. lady-inkyrius reblogged this from snarwin
  15. vmunroe reblogged this from lumsel
  16. lumsel reblogged this from theaudientvoid
  17. urbanpineapplefarmer reblogged this from theaudientvoid
  18. hadalus reblogged this from kvothbloodless
  19. kvothbloodless reblogged this from theaudientvoid
  20. theaudientvoid reblogged this from prospitianescapee
  21. prospitianescapee reblogged this from prospitianescapee
  22. dodgingthedailygrind reblogged this from astercrash
  23. reyiosa reblogged this from astercrash
  24. enbie reblogged this from seethingpustules
  25. snarp posted this