Skip to content

String.prototype.length is not a method #14

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

Merged
merged 1 commit into from
Jul 9, 2019
Merged

String.prototype.length is not a method #14

merged 1 commit into from
Jul 9, 2019

Conversation

otterlistic
Copy link
Contributor

Line 6 indicates that the string variable "str" has a method called length(). String.prototype, does not have a length() method, it has a property called length.
Also that code block for ES5 string methods look quite unclear, I included a numbered list with a small description, after all it's to remind the reader and a hyperlink to the MDN docs to read more about it.

Line 6 indicates that the string variable "str" has a method called length(). String.prototype, does not have a length() method, it has a property called length. 
Also that code block for ES5 string methods look quite unclear, I included a numbered list with a small description, after all it's to remind the reader and a hyperlink to the MDN docs to read more about it.
@AlbertoMontalesi
Copy link
Owner

Awesome job, thanks

@AlbertoMontalesi AlbertoMontalesi merged commit 07de969 into AlbertoMontalesi:master Jul 9, 2019
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