JavaScript

a free online quick reference by VisiBone
JavaScript Numbers (section of the JavaScript Card and Foldouts)   
I hope you find these 
excerpts of VisiBone
JavaScript references
very useful.

Contents:
   Number
 
   String
   Number to String
   Boolean
   Date
   Math
   Array
   Function
   logic
   Object
   type
   object-orientation
   Error (exceptions)
   LEGEND 
   FEEDBACK FORM

Operator Precedence

More content is in the
product closeups, especially:


   DOM(Document
    Object Model)

   Regular Expressions

The information here 
is part of two printed
references
, that
VisiBone makes, the
JavaScript Card:
JavaScript Card

a dense, laminated,
four-page 8.5x11 book

and also the
JavaScript Foldouts:
JavaScript Language Foldout  JavaScript DOM Foldout  JavaScript Regular Expressions Foldout
a set of three fan-fold
booklets with larger
print and smaller
folded size.


JavaScript Strings (section of the JavaScript Card and Foldouts)
 
Does it look busy?
Well, it wasn't meant
for idle people!

Here are all the
features of client-side
JavaScript, in
living code.

English takes a
back seat here.  
To make solid 
code, learn to 
read, think and 
write in
JavaScript.
Fluency will
serve you best
in the end.

The assert()
function is the best
invention for
programming
since the subroutine.

Not only will its
proper use make
your software
test itself, earning
and protecting
reliability from the
start.

But it's a clear,
concise way to
describe exactly
what all the features
of JavaScript do.

 

Did I mention?
Feedback 
form below!

 

Regular Expressions
are very versatile for
validating or
analyzing strings.

See the JavaScript
Regular Expressions
reference.


JavaScript Number / String conversion (section of the JavaScript Card and Foldouts) 


JavaScript Boolean (section of the JavaScript Card and Foldouts)
 


JavaScript Dates (section of the JavaScript Card and Foldouts)
 
The assert() function
is like a video camera. 
Hold on now, this will 
make sense in a sec.

Think how you first learn 
human language. You 
observe words spoken 
and their effects. 
Person A: "I'm hungry" 
Person B gives A food. 
You infer an association 
between making the 
sound "hungry" and 
getting fed.

This card can teach you 
JavaScript not by talking 
about it but by doing it 
and (here's the part I'm 
smug about) showing 
you the effects. The 
assert() function is a 
great way of showing 
you what JavaScript 
code does.

Imagine, instead of a 
dead-tree dictionary 
that defines words in 
terms of ... other words, 
it would instead show 
a video clip of people 
using and responding
to
those words.

Assert makes the 
effects of JavaScript 
code visible, just like 
this video-dictionary 
would make the 
effects of human 
words visible.


JavaScript Math (section of the JavaScript Card and Foldouts)
 
JavaScript Arrays (section of the JavaScript Card and Foldouts) 


JavaScript Functions (section of the JavaScript Card and Foldouts) 


JavaScript Programming Logic (section of the JavaScript Card and Foldouts)
 

VisiBone also makes
several printed web
color references.

Posters & Charts
Webmaster's Palette Color Wheel Poster

Laminated Cards
Color Card, laminated and slick for clients
that match the 
"VisiBone2"
swatch collection 
in Adobe
Illustrator and 
Photoshop.

 

Plus two varieties 
of Mouse Pads.

 

And a chart with 
1068
non-web-safe
colors:
Web Color KiloChart
Guaranteed compatible
with walls in Asia,
Europe, the Americas,
Africa, Australia and
California.

 


JavaScript Objects (section of the JavaScript Card and Foldouts)
 


JavaScript Types (section of the JavaScript Card and Foldouts)
 


JavaScript Object Oriented Programming (section of the JavaScript Card and Foldouts)
 


JavaScript Exceptions (section of the JavaScript Card and Foldouts) 

Legend (section of the JavaScript Card and Foldouts)
 

Thank you, and good luck building!
Bob Stein, VisiBone, stein@visibone.com

JavaScript Reference Contents:
   Number
 
   String
   Number <> String
   Boolean
   Date

   Math

   Array
   Function
   logic
   Object
   type
   object-orientation
   Error (exceptions)
  
LEGEND 

Here's a table of Browsers versus the JavaScript versions they claim to support:
        
         
                IE   IE   IE   IE  IE  IE  IE  IE  IE  IE                         Flock &
                PC   Mac  PC   PC  Mac Mac PC  PC  PC  PC   Netscape   Mozilla    Firefox   Opera     Safari
language=       4.01 4.01 4.01 5.0 5.0 5.1 5.5 6   7   8    4 6 7 8 9  0.9-1 1.7  1 2 3     6 7 8 9   3
JavaScript      X    X    X    X   X   X   X   X   X   X    X X X X X     X   X     X X     X X X X   X
JavaScript1.0   X    X    X    X   X   X   X   X   X   X            X     X   X     X X     X X X X   X

JavaScript1.1   X    X    X    X   X   X   X   X   X   X    X X X X X     X   X     X X     X X X X   X
JavaScript1.2   X    X    X    X   X   X   X   X   X   X    X X X X X     X   X     X X     X X X X   X
JavaScript1.3             X    X   X   X   X   X   X   X    X X X X X     X   X     X X     X X X X   X
JavaScript1.4                      X   X                      X X X X     X   X     X X     X X X X   X
JavaScript1.5                                                 X X X X     X   X     X X         X X   X

JavaScript1.6                                                 X X X X     X         X X               X
JavaScript1.7                                                 X X X X     X         X X               X
JavaScript1.8                                                 X           X           X
JavaScript1.9

JavaScript2.0                                                                                   X X

Jscript         X    X    X    X   X   X   X   X   X   X                                      X X X   X

EcmaScript                X    X           X   X   X   X                                    X X X X   X

exceptions      no   no   yes  yes yes yes yes yes yes yes  n y y y y  ---yes---  -yes-     --yes--   yes

supported?


An "X" in row "Yyyyy" means code under <script language="Yyyyy"> will run
in the browser for that column.  For example:

     IE6/PC
     ------
     <script language="JavaScript 1.3">
          // runs
     </script>

     Netscape 6
     ----------
     <script language="EcmaScript">
          // ignored
     </script>

(Yes, there are two radically different browsers both claiming to be IE4.01,
one claims to support JavaScript 1.3 and EcmaScript, and exceptions work
perfectly, and the other not.)

See the Error section of VisiBone's JavaScript cheatsheets for a trick on 
how to include code with exceptions.


        
      

 


Your Feedback Welcome!

Would love your help making the most useful references for web designers in the world.


Feedback, thoughts, questions


Your name



Your email address
(optional, always private, for our correspondence only)

(only about 3 messages a year, see archive)

 

COLOR/FONT   HTML/CSS    JAVASCRIPT    MAP    SQL    PHP      prices  store  shipping  SHOPPING CART
    about  contact  articles  tnar  blog  HOME
   ——  PRODUCTS  ——   
Color Lab  Swatches  Color Codes  Color Wheel  Color Blindness  CMYK  Popups  Font Survey
HTML Tags  Style Sheet  Characters  JavaScript  Regular Expressions  Country Codes  Typing Tutor

 ———  FREE ONLINE SERVICES  ———

© Wednesday, 29-Mar-2017 11:08:35 EDT VisiBone