6 ms·
formatting the above function for better readability ``` func toUpperCase(s: string) <IMPLEMENTATION> a = "hello world" echo toUpperCase(a) # HELLO WO
by rjha 3y ago
formatting the above function for better readability
``` func toUpperCase(s: string) <IMPLEMENTATION>
a = "hello world"
echo toUpperCase(a)
# HELLO WORLD
echo a.toUpperCase
# HELLO WORLD
echo toUpperCase a
# HELLO WORLD
echo a.toUpperCase
# HELLO WORLD ```