Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

html collection of elements to array

const boxArray = [...document.getElementsByClassName('box')];
Source by www.gavsblog.com #
 
PREVIOUS NEXT
Tagged: #html #collection #elements #array
ADD COMMENT
Topic
Name
7+7 =