how to chunk a base 64 in javascript

Solutions on MaxInterview for how to chunk a base 64 in javascript by the best coders in the world