Skip to content

Comments

remove trailing undefined argument from function call#39

Open
deepsource-autofix[bot] wants to merge 1 commit intomasterfrom
deepsource-autofix-c2140d5a
Open

remove trailing undefined argument from function call#39
deepsource-autofix[bot] wants to merge 1 commit intomasterfrom
deepsource-autofix-c2140d5a

Conversation

@deepsource-autofix
Copy link

When an argument is omitted from a function call, it will default to undefined. It is therefore redundant to explicitly pass an undefined literal as the last argument.

When an argument is omitted from a function call, it will default to `undefined`. It is therefore redundant to explicitly pass an `undefined` literal as the last argument.
@Frigyes06 Frigyes06 added the javascript Pull requests that update Javascript code label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant