Skip to content

第 92 题:已知数据格式,实现一个函数 fn 找出链条中所有的父级 id #143

@yygmind

Description

@yygmind
const value = '112'
const fn = (value) => {
...
}
fn(value) // 输出 [1, 11, 112]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions