new member function (#23146)
new member function (#23146)

* new member function

* Fixed formatting

FreeCodeCamp/FreeCodeCamp,jonathanihm/freeCodeCamp,raisedadead/FreeCodeCamp,raisedadead/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,jonathanihm/freeCodeCamp,FreeCodeCamp/FreeCodeCamp