Thanks for this helpful article,
some of these methods I never used till now, so I had to try them out immediately :-)
but since I tried your examples noticed some small mistakes in the comments within your source code which might confuse people
In .padStart and .padEnd your comment says the string was padded with abcdef instead of 123456 in the third example of both.
And after replacing chicken with duck, it still says chicken in the comment
Thanks for this helpful article,
some of these methods I never used till now, so I had to try them out immediately :-)
but since I tried your examples noticed some small mistakes in the comments within your source code which might confuse people
In .padStart and .padEnd your comment says the string was padded with abcdef instead of 123456 in the third example of both.
And after replacing chicken with duck, it still says chicken in the comment
But really thanks for the article
Regards
Thanks for reading and catching those typos.
I'll fix them.