Interview Question
Qus: What are the types of Loop operations?
Answers (1)
1)Times Loop: It allows us to perform a certain action n number of times. Times Loop specifies the number of times the Loop block to be executed.
2)Each item: Each item is used to iterate each key in the given array. It allows us to perform certain actions for all the elements of a collection.