Noob With Bad Memory
Tuesday, August 9, 2016
Random JavaScript notes
name or id of any HTML element cannot be same as the name of the JS function that element is used to call.
e.g.
<input name="foo" id="foo" onclick "foo()" />
Consider using 'map', 'filter' and 'reduce'; instead of loops
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment