⟩ What does dynamic component in JavaScript contain?
Dynamic component is a model that consists of many other sub-components that are based on dynamic theory only like:
Dynamic typing :
These are associated with the values and not having any association with the variables. JavaScript support the use of many types that can be used as an object.
Object based :
JavaScript is an object-oriented language and it deals with the objects that are associated arrays used with prototypes. The properties of the object based component can be modified, removed or added at run-time. The properties are using built in functions that helps to keep the property of dynamicity of the application.
Run-time evaluation :
JavaScript provides a run time evaluation using the eval() that takes some arguments provided during run time. This evaluation is used to make the scripting language more widely used as run time evaluation slows down the system but JavaScript uses the libraries to take less space.