`
鹤惊昆仑
  • 浏览: 223939 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Efficient JavaScript code

阅读更多
http://userjs.org/help/tutorials/efficient-code
Table of contents

  • Fast loops
  • Referencing elements
  • String matching
  • Create once, use repeatedly
  • eval is evil
  • Only listen to what you need
  • Avoid running unnecessary code
  • Timers take too much time
  • Take a short circuit
  • Reduce reflow
  • Assign multiple styles


具体可以直接看链接文章。
分享到:
评论

相关推荐

    spket-1.6.18

    Spket IDE is powerful toolkit... The JavaScript editor provides features like code completion, syntax highlighting and content outline that helps developers productively create efficient JavaScript code.

    Understanding Advanced JavaScript

    Master JavaScript with industry leaders who explain how to make fine-tuning, streamlining and testing your JavaScript code easy. TABLE OF CONTENTS - Analysing Network Characteristics Using ...

    JavaScript Concurrency pdf 无水印 0分

    This book is written for any JavaScript developer who wants to learn how to write more efficient, powerful, and maintainable applications that utilize the latest developments in JavaScript. ...

    JavaScript Functional Programming for JavaScript Developers (PDF, EPUB, MOBI)

    Functional Programming for JavaScript Developers course will take you on a journey to show how functional programming when combined with other techniques makes JavaScript programming more efficient. ...

    Pro JavaScript Design Patterns

    more efficient, and easier to work with alone or as part of a team., With Pro JavaScript Design Patterns, you’ll start with the basics of object-oriented programming in JavaScript applicable to ...

    The Principles of Object-Oriented JavaScript 1st Edition

    英文原版,无水印,数字版,有目录。 The Principles of Object-Oriented ... Unlock the secrets behind how objects work in JavaScript so you can write clearer, more flexible, and more efficient code.

    Object-Oriented JavaScript(PACKT,2ed,2013)

    Dive deeper into JavaScript and explore its data structure, and learn how to put its objects to work to write more efficient and elegant code. With an object oriented approach to JavaScript you will ...

    Learning JavaScript Design Patterns - Addy Osmani.pdf

    If you want to keep your code efficient, more manageable, and up-to-date with the latest best practices, this book is for you. Explore many popular design patterns, including Modules, Observers, ...

    JavaScript: The Good Parts

    With JavaScript: The Good Parts, you can release this elegant programming language from its old shell, and create more maintainable, extensible, and efficient code., The book's topics include:, * ...

    learning javascript

    Storing data for easy and efficient access * Using variables, functions, loops, and other core language features * Interacting with users through events * Communicating with servers through Ajax * ...

    Learning Javascript

    Storing data for easy and efficient access * Using variables, functions, loops, and other core language features * Interacting with users through events * Communicating with servers through Ajax * ...

    Supercharged.JavaScript.Graphics(第1版)

    excellent and efficient programming language that is continually being leveraged with better browsers, performance enhancements, and exciting new facilities. Combined with features such as Canvas, ...

    Mastering The Faster Web with PHP, MySQL, and JavaScript 1st pdf

    Identify and simplify overly complex JavaScript code Explore and implement UI design principles that effectively enhance the performance Combine web technologies to boost web server performance Who ...

    javascript

    large client-side applications in JavaScript can take a bunch of code, all of which must be downloaded to the browser. At dial-up speeds, piling a 50–75 kilobyte script onto a page could seriously ...

    霸屏天下源码java-NodeJs-Notes:NodeJs-笔记

    efficient machine code instead of using an interpreter. 它通过实现JIT (Just-In-Time) compiler在执行时compiles JavaScript code into machine code ,就像许多现代 JavaScript 引擎所做的那样,例如Spider...

    JavaScript面向对象框架dejavu.js.zip

    dejavu 在JavaScript原型继承的基础上提供了经典的继承形式,使得其他语言开发者可以轻松转向JavaScript。dejavu 主要特性:类(具体的、抽象的、final类)接口混入(这样你可以使用某种形式的多重继承)私有成员和...

    Learning.Underscore.js.178439381

    This book explores how to use Underscore.js to power your code and understand modern JavaScript development concepts while applying a lightweight and efficient workflow to build applications. ...

    Learning jQuery 3 - Fifth Edition

    Explore all the latest features of jQuery 3.0 and code examples updated to reflect modern JavaScript environments Develop high performance interactive pages Who This Book Is For This book is ideal ...

Global site tag (gtag.js) - Google Analytics