mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-17 16:15:22 +00:00
573 B
573 B
Title
Some text
NOT Exercise
Simple subsection NOT exercise
x = 1
What is this
y = [1, 2, 3]
z = {a: 1, b: 2}
Exercise
Define a variable x equal to 10.
var x =
var x = 10;
assert(x == 10);
// This is context code available everywhere
// The user will be able to call magicFunc in his code
function magicFunc() {
return 3;
}
Another exercise
Bla bla bla ... This time with no context code.
var x =
var x = 10;
assert(x == 10);