Jason Bostwick wrote:Are there limitations to javascript, like memory restrictions and such.
Of course it does. Everything does. No system has unlimited memory,
i'm sure if coupled with html5. but i'd rather stick with mainstream standards..
HTML5 is a mainstream standard.
also learning js, on code academy, they have..
'var nameOfFuct = function(x){};'
but i saw elsewhere just 'function nameOfFuct(x){}'
Both are correct but subtly different.
The first creates an anonymous function and stores a reference to it in the var. The 2nd creates a named function.
now this is mostlikely wrong, but first one, casts a var into a function, or perhaps puts whatever is returned from function into the var.
No. See my explanation above.