# Code coverage report for lib/to_array.js

## Statements: 100% (6 / 6) Branches: 100% (0 / 0) Functions: 100% (1 / 1) Lines: 100% (6 / 6) Ignored: none

All files » lib/ » to_array.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15

    13
    6044

    6044
    10688

    6044

    13
     'use strict';

    function to_array(args) {
        var len = args.length,
            arr = new Array(len), i;

        for (i = 0; i < len; i += 1) {
            arr[i] = args[i];
        }

        return arr;
    }

    module.exports = to_array;