Write a function that returns the speaker's name based on their introduction.
String transforming
introduction
Report a typo
Sample Input 1:
Hello, I am EmmaSample Output 1:
EmmaSample Input 2:
Hello, I am ConstantineSample Output 2:
ConstantineWrite a program in JavaScript
function introduction(line) {
//write your code here
}
___
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.