Skip to content

Conversation

@adascal
Copy link

@adascal adascal commented Nov 14, 2022

Because in js typeof null === 'object' we need additional check, otherwise Object.entries(args[saneParamName]) will fail with:

TypeError: Cannot convert undefined or null to object 
Signed-off-by: Alexandr Dascal <a.dascal@semrush.com>
@adascal adascal force-pushed the fix/setting-null-param-in-form-style branch from 654117d to bd9d2fe Compare November 14, 2022 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant