





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An introduction to javascript, explaining its relationship to java, its syntax similarities and differences, and its usage in html documents. It covers javascript's primitive data types, operators, comments, statements, exceptions, object literals, and arrays. Additionally, it discusses the three ways to create an object and the use of the for...in statement.
Typology: Slides
1 / 29
This page cannot be seen from the preview
Don't miss anything!






















These browsers will ignore the script tags but will display the included JavaScript
To get old browsers to ignore the whole thing, use:
The , the // starts a JavaScript comment, which extends to the end of the line
statements to try } catch ( e ) { // Notice: no type declaration for e exception handling statements } finally { // optional, as usual code that is always executed }
it later:
argument to create an array of that size
to create an array containing those values:
myArray.length
current length