parent
8bb9f2e2c6
commit
a1f4652b8f
23
kapitel-3.md
23
kapitel-3.md
|
@ -1,24 +1 @@
|
|||
# Kapitel 3: Übertragungsprotokolle und Datentransformationen \(02.11.2017\)
|
||||
|
||||
{% exercise %}
|
||||
Define a variable `x` equal to 10.
|
||||
|
||||
{% initial %}
|
||||
var x =
|
||||
|
||||
{% solution %}
|
||||
var x = 10;
|
||||
|
||||
{% validation %}
|
||||
assert(x == 10);
|
||||
|
||||
{% context %}
|
||||
// This is context code available everywhere
|
||||
// The user will be able to evaluate `exposedVar`
|
||||
var exposedVar = 3;
|
||||
// ... or call `exposedFunction`
|
||||
function exposedFunction {
|
||||
return 3;
|
||||
}
|
||||
{% endexercise %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue