I want to know how to convert a string to UTF-16 in Javascript
I tried charCodeAt() but it only gave me the UTF-16 code of only one character but I want to encode an entire string into UTF-16. I also tried other methods but they have failed. I am using code.org.

