This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main() { | |
// TODO 2 | |
val text = formatText("Kotlin is Awesome") | |
val lowerCase = text["lowerCase"] | |
val upperCase = text["upprintln"] | |
// TODO 3 | |
println(lowerCase) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2015 the Dart project authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license | |
// that can be found in the LICENSE file. | |
void main() { | |
var kidsBooks = [{'Matilda': 'Roald Dahl', | |
'Green Eggs and Ham': 'Dr Seuss', | |
'Where the Wild Things Are': 'Maurice Sendak'}]; | |
Map booksMap = new Map(); |