Skip to content

flatten.. #1

Description

@mikiasmohamed

function myFlatten(arr){
var res = [];
for(var i in arr){
var str = arr.join(',');
}
var newArr = str.split(',');
for(var i in newArr){
res.push(+newArr[i])
}
return res;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions