LEADER 05239nam 2200649 450 001 996198746703316 005 20220121200530.0 010 $a1-119-20942-0 010 $a1-118-90374-9 010 $a1-118-90343-9 035 $a(CKB)3710000000359005 035 $a(EBL)1895134 035 $a(SSID)ssj0001466651 035 $a(PQKBManifestationID)11846436 035 $a(PQKBTitleCode)TC0001466651 035 $a(PQKBWorkID)11505898 035 $a(PQKB)10043598 035 $a(MiAaPQ)EBC1895134 035 $a(CaSebORM)9781118903742 035 $a(PPN)190988363 035 $a(EXLCZ)993710000000359005 100 $a20150305h20152015 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aBeginning JavaScript /$fJeremy McPeak, Paul Wilton 205 $a5th ed. 210 1$aIndianapolis, Indiana :$cWrox,$d2015. 210 4$d©2015 215 $a1 online resource (771 p.) 300 $aIncludes index. 311 $a1-118-90333-1 327 $aBeginning JavaScript®; CREDITS; ABOUT THE AUTHORS; ACKNOWLEDGMENTS; CONTENTS; INTRODUCTION; CHAPTER 1: INTRODUCTION TO JAVASCRIPT AND THE WEB; Introduction to JavaScript; What Is JavaScript?; JavaScript and the Web; What Can JavaScript Do for Me?; Tools Needed to Create JavaScript Web Applications; Development Tools; Web Browsers; Where Do My Scripts Go?; Linking to an External JavaScript File; Advantages of Using an External File; Your First Simple JavaScript Program; Writing More JavaScript; A Brief Look at Browsers and Compatibility Problems; Summary; CHAPTER 2: DATA TYPES AND VARIABLES 327 $aTypes of Data in JavaScriptNumerical Data; Text Data; Boolean Data; Variables-Storing Data in Memory; Creating Variables and Giving Them Values; Assigning Variables with the Value of Other Variables; Using Data-Calculations and Basic String Manipulation; Numerical Calculations; Increment and Decrement Operators; Operator Precedence; Basic String Operations; Mixing Numbers and Strings; Data Type Conversion; Dealing with Strings That Won't Convert; Arrays; A Multi-Dimensional Array; Summary; CHAPTER 3: DECISIONS AND LOOPS; Decision Making-The if and switch Statements; Comparison Operators 327 $aPrecedenceAssignment versus Comparison; Assigning the Results of Comparisons; The if Statement; Logical Operators; AND; OR; NOT; Multiple Conditions Inside an if Statement; else and else if; Comparing Strings; The switch Statement; Executing the Same Code for Different Cases; Looping-The for and while Statements; The for Loop; The for...in Loop; The while Loop; The do...while loop; The break and continue Statements; Summary; CHAPTER 4: FUNCTIONS AND SCOPE; Creating Your Own Functions; Scope and Lifetime; Global Scope; Functional Scope; Identifier Lookup; Functions as Values; Summary 327 $aCHAPTER 5: JAVASCRIPT-AN OBJECT-BASED LANGUAGEObject-Based Programming; What Are Objects?; Objects in JavaScript; Using JavaScript Objects; Creating an Object; Using an Object's Properties; Calling an Object's Methods; Primitives and Objects; JavaScript's Native Object Types; String Objects; The length Property; Finding a String Inside Another String-The indexOf() and lastIndexOf() Methods; Copying Part of a String-The substr() and substring() Methods; Converting Case-The toLowerCase() and toUpperCase() Methods; Selecting a Single Character from a String-The charAt() and charCodeAt() Methods 327 $aConverting Character Codes to a String-The fromCharCode() MethodRemoving Leading and Trailing Whitespace-The trim() Method; Array Objects; Finding Out How Many Elements Are in an Array-The length Property; Adding Elements-The push() Method; Joining Arrays-The concat() Method; Copying Part of an Array-The slice() Method; Converting an Array into a Single String-The join() Method; Putting Your Array in Order-The sort() Method; Putting Your Array into Reverse Order-The reverse() Method; Finding Array Elements-The indexOf() and lastIndexOf() Methods; Iterating through an Array without Loops 327 $aThe Math Object 330 $aThe bestselling JavaScript guide, updated with current features and best practices Beginning JavaScript 5th Edition shows you how to work effectively with JavaScript frameworks, functions, and modern browsers, and teaches more effective coding practices using HTML5. This new edition has been extensively updated to reflect the way JavaScript is most commonly used today, introducing you to the latest tools and techniques available to JavaScript developers. Coverage includes modern coding practices using HTML5 markup, the JSON data format, DOM APIs, the jQuery framework, and more. Exercises wit 606 $aJavaScript (Computer program language) 606 $aWorld Wide Web 606 $aWeb servers 615 0$aJavaScript (Computer program language) 615 0$aWorld Wide Web. 615 0$aWeb servers. 676 $a006.74 700 $aMcPeak$b Jeremy$0738537 702 $aWilton$b Paul$f1969- 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a996198746703316 996 $aBeginning JavaScript$92258755 997 $aUNISA