This commit is contained in:
parent
323d59d281
commit
28933b6af8
2 changed files with 47 additions and 14 deletions
|
@ -401,11 +401,11 @@ You've seen most of the remaining operators in other examples:
|
|||
### Comments
|
||||
Dart supports single-line comments, multi-line comments, and documentation comments.
|
||||
|
||||
####Single-line comments
|
||||
#### Single-line comments
|
||||
A single-line comment begins with `//`. Everything between `//` and the end of line is ignored by the Dart compiler.
|
||||
```dart
|
||||
void main() {
|
||||
// TODO: refactor into an AbstractLlamaGreetingFactory?
|
||||
// refactor into an AbstractLlamaGreetingFactory?
|
||||
print('Welcome to my Llama farm!');
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue