- Why the names btoa and atob for Base64 encoder decoder functions?
Why are they named btoa() and atob()? If you have ever needed to encode text to Base64 or decode a Base64 encoded string to plain text, you should be familiar with the methods btoa() and atob(). Thei...
The implementation of forEach loop is not compatible with promise and async functions. Use a for loop to work around this limitation.
substring() returns the characters of a string from a starting index to an end index, substr() on the other hand, returns an n number of characters from a starting index.
What is the difference between bind(), apply(), and call()? Let's start with a quick summary of .bind(), .apply(), and .call(), with this object: