Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

TypeError: Cannot read property 'name' of null at __ (.../node_modules/arguejs/argue.js:117:47) #23

Open
mikelehen opened this issue Nov 9, 2017 · 0 comments

Comments

@mikelehen
Copy link

I'm not very familiar with argue.js but I think there's a bug in

plainSignature.push( signature[key].name );

The docs say, "The primitive data type null can be used to allow the argument to be of any type" but this code crashes on null. So this is causing me to get a crash instead of the correct error message that's supposed to be generated by this code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant