Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.
Cycling Through Images using the JavaScript Remainder Operator
1 year ago
9
Technology
Software & Development
programming
softwaredevelopment
livecoding
softwaredeveloper
javascript
Learn how to use the remainder operator (percent sign, aka modulo) to go from the last image to the first image.
Every time you click the next button, the current image index increments. However, it goes beyond the number of elements in the array of image URLs. So we have to reset that index back to 0 when you are seeing the last image and click next.
Loading comments...
-
21:55
GritsGG
13 hours agoMega Win Streak On Warzone! Over 4100 Wins on BO6 WZ!
1.72K -
20:22
The Pascal Show
1 day ago $2.61 earnedARE THEY IGNORING HER?! Is The White House & FBI Ignoring Candace Owens' A**assination Claims?!
29.2K15 -
1:00:45
TruthStream with Joe and Scott
1 day agoMondays with Matt Geiger from Verity Metals: Gold, Silver, The Housing Market and more. Live 12/1 6pm pacific #519
9.6K -
2:17:46
The Connect: With Johnny Mitchell
3 days ago $14.70 earnedA Sitdown With The Real Walter White: How An Honest Citizen Became A Synthetic Drug Kingpin
81K1 -
2:40:08
PandaSub2000
10 hours agoDEATH BET | Solo Episode 01 (Edited Replay)
1.65K -
LIVE
Lofi Girl
3 years agolofi hip hop radio 📚 - beats to relax/study to
744 watching -
2:03:38
Inverted World Live
8 hours agoSatanic Pedophile Network in Australia | Ep. 149
233K55 -
3:34:45
TimcastIRL
8 hours agoCandace Owens Implies TPUSA KILLED Charlie Kirk, Claims Failed Bibi Deal Cost MILLIONS | Timcast IRL
232K165 -
6:38:10
SpartakusLIVE
9 hours agoTrios w/ The BOYS on WZ and then we're teaching Jean ARC RAIDERS
82.1K7 -
2:55:52
SOLTEKGG
7 hours agoLIVE - NOT LOSING A MATCH - NEW PC - !pc
41.3K2