Skip to content

Instantly share code, notes, and snippets.

@mkuehle
Created October 28, 2019 16:45
Show Gist options
  • Save mkuehle/e689af6076b0099ea153f61f667030d2 to your computer and use it in GitHub Desktop.
Save mkuehle/e689af6076b0099ea153f61f667030d2 to your computer and use it in GitHub Desktop.
Beispiele für automatische Typisierung bei Variablen
var count = 0; // int
var message = 'hello world'; // string
var primzahlen = [2, 3, 5, 7, 11]; // Liste von int
var haustiere = {'Hund', 'Katze', 'Maus', 'Hase'}; // Set von strings
var loading = false; // bool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment