Dart (programming language): Difference between revisions

Content deleted Content added
 
Line 249:
/// Computes the nth Fibonacci number.
int fibonacci(int n) {
return n < 2 ? n : (fibonacci(n - 1) + fibonacci(n - 2));
}