Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Weird Parameter Passing Behavior

$
0
0
Hi JC,

That code simply returns a string value. That is not my exact code, but that has the same result.

Hmm, is it possible that getChunkJSON() actually returns a string object rather than string - that is, does it do something like this:
function getChunkJSON(num) {
    returnnew String(JSON.stringify(Chunks[num]));
}
Thanks!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images