Parse

File Parse functions/range.js

This tree is parsed live from the source file.

Classes

  • {{ item.name }}

    • {{ key }}

Not Classes

{{ getTree() }}

Comments

{{ getTreeComments() }}

Source

            
const range = function(count){
    /* Return a list of integers to the max of the given `count`.

        range(10)
        [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

     */
    return Array.from(Array(count).keys())
}

copy