Practical Performance Tips to Make Your HTML/JavaScript Faster: (06) Write Fast JavaScript

Download this episode

Download Video

Download captions

Download Captions


Get tips on writing good and fast JavaScript, including initializing JavaScript on demand and working efficiently with JSON, .innerHTML, numbers, arrays, and DOM objects.

  • [01:47] - JSON Always Faster than XML for Data
  • [03:39] - User .innerHTML to Construct your page
  • [05:09] - Numbers in JavaScript
  • [16:17] - Use Fast Arrays
  • [33:12] - Initialize JavaScript on Demand
  • [44:51] - Working with DOM



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.