DNA to RNA Conversion
Instructions: Deoxyribonucleic acid, DNA is the primary information storage molecule in biological systems. It is composed of four nucleic acid bases Guanine ('G'), Cytosine ('C'), Adenine ('A'), and Thymine ('T'). Ribonucleic acid, RNA, is the primary messenger molecule in cells. RNA differs slightly from DNA its chemical structure and contains no Thymine. In RNA Thymine is replaced by another nucleic acid Uracil ('U'). Create a function which translates a given DNA string into RNA. For example: "GCAT" => "GCAU" The input string can be of arbitrary length - in particular, it may be empty. All input is guaranteed to be valid, i.e. each input string will only ever consist of 'G', 'C', 'A' and/or 'T' Thoughts: Using the replaceAll() function, I believe is the easiest and the most concise option that replace all the T's to U's no matter how many repetition are and where are located in the string. Solution: Output: This is a CodeWars Challenge of 8kyu Rank (https://www.codewars.com/kata/5556282156230d0e5e000089/train/javascript)

Instructions:
Deoxyribonucleic acid, DNA is the primary information storage molecule in biological systems. It is composed of four nucleic acid bases Guanine ('G'), Cytosine ('C'), Adenine ('A'), and Thymine ('T').
Ribonucleic acid, RNA, is the primary messenger molecule in cells. RNA differs slightly from DNA its chemical structure and contains no Thymine. In RNA Thymine is replaced by another nucleic acid Uracil ('U').
Create a function which translates a given DNA string into RNA.
For example:
"GCAT" => "GCAU"
The input string can be of arbitrary length - in particular, it may be empty. All input is guaranteed to be valid, i.e. each input string will only ever consist of 'G', 'C', 'A' and/or 'T'
Thoughts:
Using the replaceAll() function, I believe is the easiest and the most concise option that replace all the T's to U's no matter how many repetition are and where are located in the string.
This is a CodeWars Challenge of 8kyu Rank (https://www.codewars.com/kata/5556282156230d0e5e000089/train/javascript)