Skip to content

Instantly share code, notes, and snippets.

@Headmast
Created October 2, 2020 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Headmast/964a2e19719d2531d817550e9bce151d to your computer and use it in GitHub Desktop.
Save Headmast/964a2e19719d2531d817550e9bce151d to your computer and use it in GitHub Desktop.
void reverse(String text) {
  print('New line: ${text.split(' ').reversed.join(' ')}');
}

void main() {
  var a = 'hello world';
  reverse(a);
 }
@artem-zaitsev
Copy link

Все верно

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment