Skip to content

Convert number to reversed array of digits #3

Description

@hellocan

Given a non-negative integer, return an array containing a list of independent digits in reverse order.

Example:
348597 => [7,9,5,8,4,3]

Your Test Cases:
Test.assertSimilar(digitize(35231),[1,3,2,5,3]);
where By
http://www.codewars.com/kata/5583090cbe83f4fd8c000051/train/javascript

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions