Optimizing JavaScript Object Behavior and Global Function Object

Free registration required

Executive Summary

In JavaScript, there are some built-in objects or common objects like Number, String, Math and Boolean etc. They have some common behaviors or internal properties. Before going to interpret any script, compiler assigns memory for all the common objects and its properties into the environment. The internal properties are called dynamically at runtime through function pointer to improve the execution time. The built-in objects have prototype objects. The prototype object is the standard built-in object prototype object. There are many function objects that are properties of this prototype object. The function objects occupy the same memories as any other objects.

  • Format: PDF
  • Size: 87.4 KB