filmov
tv
Passing JavaScript Object Literal To JavaScript Constructor Object | Cody Smith - Strong Programmer

Показать описание
The answer to keeping track of all the parameters in your large scale JavaScript program may be simpler than you think. Today I wrote some JavaScript code that declared a JavaScript Object Literal. The Object Literal had properties and values that consisted of my parameter names that I would, or could use throughout my program by passing the object literal to functions, and other objects in my program.