String.padstart() Not Applying In Angular Function
I have an angular function which receives a number from a GET request and then will encode that number as base 64. I am trying to use the padStart function outlined here, but when
Solution 1:
A string is immutable. You have to reassign
working_str = working_str.padStart(8, '1234');
Post a Comment for "String.padstart() Not Applying In Angular Function"