Examples of loops and iteration patterns over arrays, files and folders.
Code examples (hashJS) for looping scenarios in hash templates.
This example demonstrates a basic for loop in a hash template, including the use of continue to skip an item and break to exit the loop…
Example showing a recursive function (a function calling itself).
Gets folders from a specified folder and list the sub folders. Reference: <a href="/JavaScript/Filesystem-functions/getFolders">getFolders</…