Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

const values in generateRandomPhrase #1

Merged
merged 1 commit into from
May 20, 2023

Conversation

st3b1t
Copy link
Owner

@st3b1t st3b1t commented May 20, 2023

const prevents the variable to be re-assigned to another value.
Prevents any vulnerabilities or code errors

const prevents the variable to be assigned to another value.
@st3b1t st3b1t merged commit 4773d4f into master May 20, 2023
@st3b1t st3b1t deleted the st3b1t-const-prevent-reassign branch May 20, 2023 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant