Skip to content

关于不写return的规范有啥根据吗? #130

@jhd124

Description

@jhd124

image
image
我在leecode上写代码的时候注意到有return的写法比没有return的快,有没有大佬了解这其中的道理,不写return的这条规范是处于什么目的?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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