javascript: create DOM element without using for loop

/ Published in: JavaScript
Save to your folder(s)

when need to created a dom element repeatedly , use string concatenation to avoid for loop you can use repeat function from below.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.