seminar-wir-bauen-uns-einen.../03_3_uebung_etwas_ueber_das...

19 lines
400 B
Markdown
Raw Normal View History

# 3.3 Übung: Etwas über das System herausfinden
{% 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 call magicFunc in his code
function magicFunc() {
return 3;
}
{% endexercise %}
This is a spoiler: {%s%}Hello World.{%ends%}