0
/ 50
Complete the following function. Given aString, return the first half of characters in that string (the string "woohoo" yields "woo")....
Complete the following function. Given aString, return the first half of characters in that string (the string "woohoo" yields "woo"). Odd lengths should be rounded down
Examples:
firstHalf("racecars") -> "race"
firstHalf("?Odds and spaces?") -> "?Odds an"
Your feedback will appear here when you check your answer.