Skip to content

my favorite js wtf #23

@shmuel-taub

Description

@shmuel-taub

{ let undefined = 5; console.log(undefined); // will print five }

make sure to do this in a new scope because the global variable named undefined is unconfigurable

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