I am using “runkitExampleFilename” in package.json to provide an example.
var a = [1, 2, 3, 4];
array.rotate(a, 1);;
// [4, 1, 2, 3]
array.bsearch([1, 3, 5, 7], 5);;
// 2 ^ found
Is there a way to have multiple code blocks? (2 here)
As you can see i have tried using 2 semi-colons but it didnt work. Another possibility is to use console.log(), but for a long example it becomes hard to track.