May you write me a javascript function that takes every letter in an array and returns a new array with all the letters of the original array capitalized.
system
aap mujhe ek javascript fnction likh sakate hai jo har akshar ko ek sarani main letaa he or mul sarani ke sabhi patron ke saath ek nayaa sarani lautaata he.
user
yahan ek sarani main aksharon ko puunjikaran ke liye ek saral kaary he.

fnction makecapital (sarani) {
  var capitalifed = [];
  for (var i = 0; q <array.length; i ++) {
    cipleitized.push (sarani [i] .touppercase ());
  }
  vaapasi puunjikrut;
}
assistant
<|system|>
</s>
<|user|>
aap mujhe ek javascript fnction likh sakate hai jo har akshar ko ek sarani main letaa he or mul sarani ke sabhi patron ke saath ek nayaa sarani lautaata he.</s>
<|assistant|>
yahan ek sarani main aksharon ko puunjikaran ke liye ek saral kaary he.

fnction makecapital (sarani) {
  var capitalifed = [];
  for (var i = 0; q <array.length; i ++) {
    cipleitized.push (sarani [i] .touppercase ());
  }
  vaapasi puunjikrut;
}</s>
