want 8 spaces?
(new Array(8)).join(' ')
it's quick not only as in fewer keystrokes/less code, but is also blazingly fast to execute compared to a for-loop implementation.
Everything pertaining to the presentation layer, but focusing on javascript and css
No comments:
Post a Comment