R
Reactiflux

Deepak – 07-22 Aug 23

Deepak – 07-22 Aug 23

DDeepak8/23/2022
can someone explain
var listContainer = document.querySelector('.list-container'),
listItems = document.querySelectorAll('.list-item'),
listArray = Array.prototype.slice.call(listItems);
var listContainer = document.querySelector('.list-container'),
listItems = document.querySelectorAll('.list-item'),
listArray = Array.prototype.slice.call(listItems);
My question is what is the last line doing ?
listArray = Array.prototype.slice.call(listItems);
listArray = Array.prototype.slice.call(listItems);
UUUnknown User8/24/2022
4 Messages Not Public
Sign In & Join Server To View

Looking for more? Join the community!

R
Reactiflux

Deepak – 07-22 Aug 23

Join Server