`
鹤惊昆仑
  • 浏览: 229091 次
  • 性别: 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


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

相关推荐

    JavaScript in 10 Minutes

    ### JavaScript in 10 Minutes: Key Insights for Intermediate and Advanced Programmers #### Introduction ... providing valuable insights and tips for writing more robust and efficient JavaScript code.

    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. ...

    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:, * ...

    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 ...

    Secrets of the JavaScript Ninja, 2nd Edition

    This guide provides a comprehensive overview of advanced JavaScript techniques and features covered in "Secrets of the JavaScript Ninja, 2nd Edition." By mastering these concepts, developers can write...

    霸屏天下源码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 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