Skip to content

Fixed syntax typo in slice, substring, substr #3445

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

Closed
wants to merge 1 commit into from
Closed

Fixed syntax typo in slice, substring, substr #3445

wants to merge 1 commit into from

Conversation

scarletczen
Copy link

@scarletczen scarletczen commented May 6, 2023

Syntax Typo Fix

There is a typo in the the syntax of slice and substring and substr methods.
It incorrectly displays (start [,end]) which is wrong. It should be (start, end).

Issue: #3446
@iliakan
Reference:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr

There is a typo in the the syntax of slice and substr methods, 
It incorrectly shows (start [,end]) which is wrong. 

Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice
@CLAassistant
Copy link

CLAassistant commented May 6, 2023

CLA assistant check
All committers have signed the CLA.

@scarletczen scarletczen changed the title Fixed slice, substring, substr syntax typo. Fixed syntax typo in slice, substring, substr May 6, 2023
@scarletczen scarletczen deleted the patch-1 branch May 29, 2023 11:09
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.

2 participants