Solution Review: String Comparison
This lesson explains the solution for the string comparison exercise.
We'll cover the following...
Solution
Press + to interact
let str1 = "Venus";let str2 = "Neptune"if(String.length(str1) >= String.length(str2)) {Js.log(str1 ++ str2);}else {Js.log(str2 ++ str1);};
Explanation
This problem can be solved using any ...