Mục lục

  • Table of Contents

  • Preface

    • Audience and Assumptions

    • Organization

    • Conventions Used in This Book

    • Using Code Examples

      • Target Browsers

      • Safari® Books Online

      • How to Contact Us

      • Acknowledgments

      • Chapter 1. Code Reuse and Optimization

        • Keeping It Fast

        • What and When to Optimize

        • Homespun Code Profiling

        • Optimizing JavaScript

          • Lookup Tables

          • Bitwise Operators, Integers, and Binary Numbers

            • A quick recap of binary numbers

            • JavaScript’s bitwise operators

              • Bitwise AND (x & y)

              • Bitwise OR (x | y)

              • Bitwise XOR (x ^ y)

              • Bitwise NOT (~x)

              • Shift left (x << numBits)

              • Shift right with sign (x >> numBits)

              • Shift right with zero fill (x >>> y)

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan