Slice() to set maximum number of images in repeater (using "randomising" code)

In the last row of my code I wrote: ‘//continue’ which means continue with your original code (after the onReady closure).