The following codes will output the numbers 1 through 10 in the console, although console.log could be any function that accepts an input.
console.log
for x in [1..10] console.log x
console.log x for x in [1..10]
Topic Id: 6006
Example Ids: 21014
This site is not affiliated with any of the contributors.
Content on the page is taken from Stack Overflow Documentation
This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service