Last updated 1 year ago
Was this helpful?
In an object-oriented approach, the string is treated as an object calling its say() method:
say 'Hello world!';
"Hello, World!".say();