I know that I have chained methods together in the past but I tried it recently and got the error: “TypeError: str.split(…).charCodeAt is not function”
here is the code
var charStr = str
.split("")
.charCodeAt();
return charStr;
Just, what are the parameters for chaining methods in vanilla JS? Thanks!