var slideIndex = 1;
showSlides(slideIndex);
It is assigning the value of 1
into the variable slideIndex and then passing it to the function showSlides.
This is very basic JavaScript. I would suggest the FCC course on JavaScript.
1 Like