|
variableInitialize variables once in JavascriptHow to initialize variable once in Javascript? I need to memorize and use old variables data. For example, in another programming environment, whenever executed some function, it can saves input arguments to array variable ; array.push(arg). So it makes possible to get some old data in array variable. But in qc, variables initialized newly at each frame. It is ok, not a way using Javascript. Does anybody help?
|