
At a Glance
288 Pages
22.23 x 14.61 x 1.91
Paperback
$49.75
or 4 interest-free payments of $12.44 with
 orÂShips in 15 to 25 business days
| Acknowledgments | p. xiii |
| Introduction | p. xiii |
| Core JavaScript | p. 1 |
| Language Conventions | p. 1 |
| Case Sensitivity | p. 1 |
| Code Formatting | p. 1 |
| Literals and Identifiers | p. 2 |
| Reserved Words | p. 2 |
| Data Types | p. 5 |
| Numbers | p. 5 |
| Special Numeric Values | p. 7 |
| Strings | p. 7 |
| Variables | p. 9 |
| "Untyped" Variables | p. 9 |
| Declaring Variables | p. 9 |
| Operators | p. 10 |
| JavaScript Operators | p. 13 |
| Operands | p. 13 |
| Operator Precedence | p. 13 |
| Operator Associativity | p. 14 |
| Types of Operators | p. 15 |
| Statements and Control Structures | p. 27 |
| Statements | p. 27 |
| Expression Statements | p. 27 |
| Compound Statements | p. 27 |
| var | p. 28 |
| function | p. 28 |
| return | p. 28 |
| with | p. 28 |
| import and export | p. 29 |
| The Empty Statement | p. 29 |
| try ... catch | p. 30 |
| Control Structures | p. 30 |
| Conditional | p. 30 |
| Loops | p. 33 |
| Functions and Objects | p. 37 |
| Functions | p. 37 |
| Defining Functions | p. 37 |
| Executing Functions | p. 38 |
| Nested Functions | p. 38 |
| Manipulating Functions as Data | p. 39 |
| Objects | p. 43 |
| A Prototype-Based Language | p. 43 |
| Defining Objects | p. 44 |
| The Object Superclass | p. 45 |
| Using Object-Oriented JavaScript | p. 48 |
| Core Objects and Functions | p. 51 |
| Array | p. 51 |
| Creating Arrays | p. 53 |
| Array Methods and Properties | p. 54 |
| Multidimensional Arrays | p. 60 |
| Boolean | p. 61 |
| Creating Boolean Objects and Values | p. 61 |
| Boolean Methods | p. 62 |
| Date | p. 63 |
| The Date Constructor | p. 67 |
| Date Methods | p. 68 |
| eval () | p. 81 |
| Math | p. 82 |
| Math Methods and Properties | p. 84 |
| MimeType | p. 92 |
| MimeType Properties | p. 94 |
| Number | p. 94 |
| The Number Constructor | p. 95 |
| Number Methods and Properties | p. 95 |
| parseFloat () | p. 98 |
| parseInt () | p. 98 |
| RegExp | p. 99 |
| Defining Regular Expressions | p. 99 |
| Pattern Matching | p. 100 |
| RegExp Methods | p. 108 |
| RegExp Object | p. 111 |
| String | p. 113 |
| Creating Strings | p. 116 |
| String Methods and Properties | p. 116 |
| JavaScript in the Browser: Client-Side Objects, Methods, and Properties | p. 129 |
| Embedding JavaScript in HTML Pages | p. 129 |
| [left angle bracket]Script[right angle bracket] Tags | p. 129 |
| URL | p. 131 |
| JSS | p. 132 |
| Entities | p. 132 |
| The Document Object Model | p. 133 |
| The navigator Object | p. 133 |
| navigator.appCodeName | p. 135 |
| navigator.appMinorVersion | p. 136 |
| navigator.appName | p. 136 |
| navigator.appVersion | p. 136 |
| navigator.cookieEnabled | p. 136 |
| navigator.cpuClass | p. 137 |
| navigator.javaEnabled() | p. 138 |
| navigator.language | p. 138 |
| navigator.mimeTypes[] | p. 138 |
| navigator.online | p. 140 |
| navigator.oscpu | p. 140 |
| navigator.platform | p. 140 |
| navigator.plugins | p. 140 |
| navigator.product | p. 142 |
| navigator.productSub | p. 142 |
| navigator.systemLanguage | p. 143 |
| navigator.userAgent | p. 143 |
| navigator.userLanguage | p. 143 |
| navigator.vendor | p. 143 |
| navigator.vendorSub | p. 144 |
| The Event Object (Events and Event Handling) | p. 144 |
| event.altKey, event.ctrlKey, event.shiftKey | p. 144 |
| event.bubbles | p. 145 |
| event.button | p. 145 |
| event.cancelable | p. 145 |
| event.cancelBubble | p. 146 |
| event.clientX, event.clientY | p. 146 |
| event.currentTarget | p. 146 |
| event.data | p. 146 |
| event.eventPhase | p. 146 |
| event.fromElement | p. 146 |
| event.height | p. 146 |
| event.keyCode | p. 147 |
| event.layerX, event.layerY | p. 147 |
| event.modifiers | p. 147 |
| event.offsetX, event.offsetY | p. 147 |
| event.pageX, event.pageY | p. 147 |
| event.reason | p. 147 |
| event.returnValue | p. 148 |
| event.screenX, event.screenY | p. 148 |
| event.srcElement | p. 148 |
| event.srcFilter | p. 148 |
| event.target | p. 148 |
| event.toElement | p. 148 |
| event.type | p. 148 |
| event.TYPE | p. 149 |
| event.which | p. 149 |
| event.width | p. 149 |
| event.x, event.y | p. 149 |
| The window Object | p. 150 |
| window._content | p. 157 |
| window.alert() | p. 157 |
| window.atob() and window.btoa() | p. 157 |
| window.back() | p. 157 |
| window.blur() | p. 157 |
| window.captureEvents() | p. 158 |
| window.clearInterval() | p. 158 |
| window.clearTimeout() | p. 159 |
| window.close() | p. 159 |
| window.closed | p. 159 |
| window.confirm() | p. 159 |
| window.crypto | p. 159 |
| window.dialogArguments | p. 159 |
| window.dialogHeight | p. 160 |
| window.dialogLeft | p. 160 |
| window.dialogTop | p. 160 |
| window.dialogWidth | p. 160 |
| window.disableExternalCapture() | p. 160 |
| window.document | p. 160 |
| window.enableExternalCapture() | p. 161 |
| window.escape() and window.unescape() | p. 161 |
| window.event | p. 161 |
| window.execScript | p. 161 |
| window.find() | p. 161 |
| window.focus() | p. 162 |
| window.forward() | p. 162 |
| window.frames[] | p. 162 |
| window.history | p. 162 |
| window.home() | p. 162 |
| window.innerHeight | p. 162 |
| window.innerWidth | p. 162 |
| window.length | p. 163 |
| window.location | p. 163 |
| window.locationbar | p. 163 |
| window.menubar | p. 163 |
| window.moveBy() | p. 163 |
| window.moveTo() | p. 163 |
| window.name | p. 163 |
| window.navigate() | p. 164 |
| window.offscreenBuffering | p. 164 |
| window.onblur | p. 164 |
| window.ondragdrop | p. 164 |
| window.onerror | p. 164 |
| window.onfocus | p. 164 |
| window.onload | p. 164 |
| window.onmove | p. 165 |
| window.onresize | p. 165 |
| window.onunload | p. 165 |
| window.open() | p. 165 |
| window.opener | p. 167 |
| window.outerHeight | p. 167 |
| window.outerWidth | p. 167 |
| window.parent | p. 167 |
| window.personalbar | p. 167 |
| window.print() | p. 168 |
| window.prompt() | p. 168 |
| window.releaseEvents() | p. 168 |
| window.resizeBy() | p. 168 |
| window.resizeTo() | p. 168 |
| window.routeEvents() | p. 169 |
| window.screen | p. 169 |
| window.screenX | p. 169 |
| window.screenY | p. 169 |
| window.scroll() | p. 169 |
| window.scrollbars | p. 169 |
| window.scrollBy() | p. 170 |
| window.scrollTo() | p. 170 |
| window.self | p. 170 |
| window.setHotkeys() | p. 170 |
| window.setInterval() | p. 170 |
| window.setResizable() | p. 171 |
| window.setTimeout() | p. 171 |
| window.setZOptions() | p. 171 |
| window.showHelp() | p. 172 |
| window.showModalDialog() and window.showModelessDialog() | p. 172 |
| window.sidebar | p. 173 |
| window.status | p. 174 |
| window.statusbar | p. 174 |
| window.stop() | p. 174 |
| window.toolbar | p. 174 |
| window.top | p. 174 |
| window.window | p. 174 |
| window.XOffset | p. 174 |
| window.YOffset | p. 175 |
| Document Properties | p. 175 |
| document.activeElement | p. 179 |
| document.all | p. 179 |
| document.alinkColor, document.bgColor, document.fgColor, document.linkColor, document.vlinkColor | p. 180 |
| document.anchors[] | p. 181 |
| document.applets[] | p. 181 |
| document.attributes | p. 181 |
| document.body | p. 181 |
| document.characterSet | p. 182 |
| document.childNodes | p. 182 |
| document.clear() | p. 182 |
| document.close() | p. 183 |
| document.cookie | p. 183 |
| document.createElement() | p. 183 |
| document.createStyleSheet() | p. 183 |
| document.defaultCharset | p. 183 |
| document.domain | p. 184 |
| document.elementFromPoint() | p. 184 |
| document.embeds[] | p. 184 |
| document.execCommand() | p. 184 |
| document.expando | p. 184 |
| document.fileCreatedDate | p. 187 |
| document.fileModifiedDate | p. 187 |
| document.fileSize | p. 188 |
| document.fileUpdatedDate | p. 188 |
| document.form | p. 188 |
| document.forms[] | p. 235 |
| document.frames[] | p. 235 |
| document.getSelection | p. 235 |
| document.height | p. 236 |
| document.images[] | p. 236 |
| document.lastModified | p. 236 |
| document.links[] | p. 236 |
| document.mimeType | p. 236 |
| document.open() | p. 236 |
| document.parentWindow | p. 236 |
| document.queryCommandEnabled() | p. 237 |
| document.queryCommandIndeterm() | p. 237 |
| document.queryCommandState() | p. 237 |
| document.queryCommandSupported() | p. 237 |
| document.queryCommandText() | p. 237 |
| document.queryCommandValue() | p. 238 |
| document.readyState | p. 238 |
| document.referrer | p. 238 |
| document.scripts[] | p. 238 |
| document.selection | p. 238 |
| document.styleSheets[] | p. 239 |
| document.title | p. 239 |
| document.URL | p. 239 |
| document.width | p. 239 |
| document.write() | p. 239 |
| document.writeln() | p. 239 |
| Appendix | |
| JavaScript Versions Chart | p. 241 |
| Character Charts | p. 242 |
| Event Handlers Chart | p. 251 |
| The Authors' Bookmarks | p. 253 |
| Web Browsers | p. 255 |
| Country Codes | p. 255 |
| JavaScript Security | p. 258 |
| JavaScript's Inherent Security | p. 258 |
| Security by Obscurity Doesn't Work | p. 259 |
| Index | p. 261 |
| Table of Contents provided by Syndetics. All Rights Reserved. |
ISBN: 9780072192964
ISBN-10: 0072192968
Series: Programmer's Reference
Published: 11th September 2001
Format: Paperback
Language: English
Number of Pages: 288
Audience: Professional and Scholarly
Publisher: OSBORNE
Country of Publication: US
Dimensions (cm): 22.23 x 14.61 x 1.91
Weight (kg): 0.37
Shipping
| Standard Shipping | Express Shipping | |
|---|---|---|
| Metro postcodes: | $9.99 | $14.95 |
| Regional postcodes: | $9.99 | $14.95 |
| Rural postcodes: | $9.99 | $14.95 |
Orders over $79.00 qualify for free shipping.
How to return your order
At Booktopia, we offer hassle-free returns in accordance with our returns policy. If you wish to return an item, please get in touch with Booktopia Customer Care.
Additional postage charges may be applicable.
Defective items
If there is a problem with any of the items received for your order then the Booktopia Customer Care team is ready to assist you.
For more info please visit our Help Centre.
You Can Find This Book In

Apache Iceberg: The Definitive Guide
Data Lakehouse Functionality, Performance, and Scalability on the Data Lake
Paperback
RRP $133.00
$64.75
OFF

Architecture Patterns with Python
Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices
Paperback
RRP $125.75
$60.99
OFF






















