Skip to content

Bug Report for foreign-dictionary #5679

@pagarevijayy

Description

@pagarevijayy

Bug Report for https://neetcode.io/problems/foreign-dictionary

For JS env:

When we run the solution without using the return keyword (which the solution expects), runtime throws error.

"TypeError: Cannot read properties of undefined (reading 'length')"

Image

Maybe, this behaviour extends sitewide. Could be low priority.

Context: I was trying to console.log intermediate steps when i encountered this.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions