Rename length() as size() because the solution and future challenges use size()
This commit is contained in:
@ -1056,7 +1056,7 @@
|
|||||||
" this.next = null; ",
|
" this.next = null; ",
|
||||||
" }; ",
|
" }; ",
|
||||||
"",
|
"",
|
||||||
" this.length = function(){",
|
" this.size = function(){",
|
||||||
" return length;",
|
" return length;",
|
||||||
" };",
|
" };",
|
||||||
"",
|
"",
|
||||||
|
Reference in New Issue
Block a user