LEADER 05299nam 2200793Ia 450 001 9910954896203321 005 20200520144314.0 010 $a9786611731748 010 $a9781281731746 010 $a1281731749 010 $a9781847194152 010 $a184719415X 035 $a(CKB)1000000000779175 035 $a(EBL)978113 035 $a(OCoLC)806205254 035 $a(SSID)ssj0000332270 035 $a(PQKBManifestationID)11276618 035 $a(PQKBTitleCode)TC0000332270 035 $a(PQKBWorkID)10334665 035 $a(PQKB)11761190 035 $a(Au-PeEL)EBL978113 035 $a(CaPaEBR)ebr10448370 035 $a(CaONFJC)MIL173174 035 $a(PPN)227991990 035 $a(OCoLC)351398909 035 $a(OCoLC)ocm351398909 035 $a(FR-PaCSA)88852167 035 $a(CaSebORM)9781847194145 035 $a(MiAaPQ)EBC978113 035 $a(FRCYB88852167)88852167 035 $a(EXLCZ)991000000000779175 100 $a20090526d2008 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aObject-oriented JavaScript $ecreate scalable, reusable high-quality JavaScript applications and libraries /$fStoyan Stefanov 205 $a1st edition 210 $aBirmingham, UK $cPackt Publishing$dc2008 215 $a1 online resource (356 p.) 300 $aIncludes index. 311 08$a9781847194145 311 08$a1847194141 327 $aCover; Table of Contents; Preface; Chapter 1: Introduction; A Bit of History; The Winds of Change; The Present; The Future; Object-Oriented Programming; Objects; Classes; Encapsulation; Aggregation; Inheritance; Polymorphism; OOP Summary; Setting up Your Training Environment; Getting the Tools You Need; Using the Firebug Console; Summary; Chapter 2: Primitive Data Types, Arrays, Loops, and Conditions; Variables; Variables are Case Sensitive; Operators; Primitive Data Types; Finding out the Value Type -the typeof Operator; Numbers; Octal and Hexadecimal Numbers; Exponent Literals; Infinity 327 $aNaNStrings; String Conversions; Special Strings; Booleans; Logical Operators; Operator Precedence; Lazy Evaluation; Comparison; Undefined and null; Primitive Data Types Recap; Arrays; Adding/Updating Array Elements; Deleting Elements; Arrays of arrays; Conditions and Loops; Code Blocks; if Conditions; Checking if a Variable Exists; Alternative if Syntax; Switch; Loops; While Loops; Do-while loops; For Loops; For-in Loops; Comments; Summary; Exercises; Chapter 3: Functions; What is a Function?; Calling a Function; Parameters; Pre-defined Functions; parseInt(); parseFloat(); isNaN(); isFinite() 327 $aEncode/Decode URIseval(); A Bonus-the alert() Function; Scope of Variables; Functions are Data; Anonymous Functions; Callback Functions; Callback Examples; Self-invoking Functions; Inner (Private) Functions; Functions that Return Functions; Function, Rewrite Thyself!; Closures; Scope Chain; Lexical Scope; Breaking the Chain with a Closure; Closure #1; Closure #2; A Definition and Closure #3; Closures in a Loop; Getter/Setter; Iterator; Summary; Exercises; Chapter 4: Objects; From Arrays to Objects; Elements, Properties, Methods; Hashes, Associative Arrays; Accessing Object's Properties 327 $aCalling an Object's MethodsAltering Properties/Methods; Using this Value; Constructor Functions; The Global Object; constructor Property; instanceof Operator; Functions that Return Objects; Passing Objects; Comparing Objects; Objects in the Firebug Console; Built-in Objects; Object; Array; Interesting Array Methods; Function; Properties of the Function Objects; Methods of the Function Objects; The arguments Object Revisited; Boolean; Number; String; Interesting Methods of the String Objects; Math; Date; Methods to Work with Date Objects; RegExp; Properties of the RegExp Objects 327 $aMethods of the RegExp ObjectsString Methods that Accept Regular Expressions as Parameters; search() and match(); replace(); Replace callbacks; split(); Passing a String When a regexp is Expected; Summary; Exercises; Chapter 5: Prototype; The prototype Property; Adding Methods and Properties Using the Prototype; Using the Prototype's Methods and Properties; Own Properties versus prototype Properties; Overwriting Prototype's Property with Own Property; Enumerating Properties; isPrototypeOf(); The Secret __proto__ Link; Augmenting Built-in Objects; Augmenting Built-in Objects-Discussion 327 $aSome Prototype gotchas 330 $aCreate scalable, reusable high-quality JavaScript applications and libraries 606 $aComputer software$xReusability 606 $aJavaScript (Computer program language) 606 $aObject-oriented programming (Computer science) 606 $aSoftware patterns 615 0$aComputer software$xReusability. 615 0$aJavaScript (Computer program language) 615 0$aObject-oriented programming (Computer science) 615 0$aSoftware patterns. 676 $a005.133 676 $a006.76 700 $aStefanov$b Stoyan$01796039 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910954896203321 996 $aObject-oriented JavaScript$94337610 997 $aUNINA