lecture15

lecture15 - PIC 40A Lecture 15: Introduction to JavaScript...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
PIC 40A Lecture 15: Introduction to JavaScript
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is JavaScript? • a prototype-based scripting language • developed by Netscape in 1995 • standardized in 1996 by European Computer Manufacturers Association (ECMA) • originally called ECMAScript but Sun allowed Netscape to use the name 'Java' in exchange for supporting Java in their browser • JavaScript is officially a trademark of Sun
Background image of page 2
What is a "prototype-based" language? • an object-oriented programming language in which –classes do not exist –objects are created by cloning existing objects which act as prototypes (models on which new objects are based or formed) (source: Wikipedia.org)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is a scripting language? • computer programming language designed for "scripting" the operation of a computer (source: Wikipedia.org) Scripting languages are characterized by –having simple syntax –code (ie script ) is usually interpreted, not compiled
Background image of page 4
Three Parts of JavaScript •c o r e – operators, expressions, statements, primitive types, arrays, functions, objects, subprograms • client-side – objects and events that support Web browser use and user interaction • server-side – objects that facilitate using a Web server • eg communicating with a Web database, file operations, networking
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Some Core JavaScript • operators – numeric – boolean – assignment – String – comparison • objects – Object , String , Math , Date , Number
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 21

lecture15 - PIC 40A Lecture 15: Introduction to JavaScript...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online