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')"
Maybe, this behaviour extends sitewide. Could be low priority.
Context: I was trying to console.log intermediate steps when i encountered this.
Thanks.
Bug Report for https://neetcode.io/problems/foreign-dictionary
For JS env:
When we run the solution without using the
returnkeyword (which the solution expects), runtime throws error."TypeError: Cannot read properties of undefined (reading 'length')"
Maybe, this behaviour extends sitewide. Could be low priority.
Context: I was trying to console.log intermediate steps when i encountered this.
Thanks.