Foxhole Atheist
Monday, January 6, 2014
Undefined and Defaults in Javascript
K = {};
K.T = K.T || {};
K.T.F = K.T.F || {};
the first line raises an undefined error - the other lines are ok
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment