Bag om JavaScript Fundamentals and Basics
In This Book You Will Learn What is JavaScript?-Was designed to add interactivity to HTML pages-Is a scripting language (a scripting language is a lightweight programming language)-JavaScript code is usually embedded directly into HTML pages-JavaScript is an interpreted language (means that scripts execute without preliminary compilation) 5 What can a JavaScript do?-JavaScript gives HTML designers a programming tool-JavaScript can put dynamic text into an HTML page-JavaScript can react to events-JavaScript can read and write HTML elements-JavaScript can be used to validate input data-JavaScript can be used to detect the visitor's browser-JavaScript can be used to create cookies 6 How to put a JavaScript code into an HTML page?How JavaScript was created . . . . . . . . . . . . . . . . . . . . . . . . .Standardizing JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Evolving JavaScript: don't break the web . . . . . . . . . . . . . . . . . .What are good references for JavaScript? . . . . . . . . . . . . . . . . . .How do I find out what JavaScript features are supported where? . . . . .Where can I look up what features are planned for JavaScript? . . . . . .Why does JavaScript fail silently so often? . . . . . . . . . . . . . . . . .Why can't we clean up JavaScript, by removing quirks and outdated fea-tures? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .How can I quickly try out a piece of JavaScript code? . . . . . . . . . . . SyntaxAn overview of JavaScript's syntax . . . . . . . . . . . . . . . . .(Advanced) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Statement vs. expression . . . . . . . . . . . . . . . . . . . . . . .Ambiguous syntax . . . . . . . . . . . . . . . . . . . . . . . . . .Semicolons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Automatic semicolon insertion (ASI) . . . . . . . . . . . . . . . .Semicolons: best practices . . . . . . . . . . . . . . . . . . . . . .Strict mode vs. sloppy mode . . . . . . . . . . . . . . . . . . . . .AND MANY MORE BUY THIS BOOK NOW
Vis mere