I’m reading some built-in methods related to string. I learnt about .padEnd() and .padStart() method, while implementing these methods, I got errors as “str.padStart() is not a function
even copy-pasting the same code from MDN throws an error. HELP
I have not yet installed Node JS on my computer so I always test my code on code-cad editor.