Compare the two given strings using the appropriate method. The output should be 1.
String Compare
Compare two strings
Report a typo
Sample Input 1:
Sample Output 1:
1Write a program in JavaScript
let firstStr = "Apple";
let secondStr = "Apple Iphone";
let compareTwo = ...
console.log(compareTwo);
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.