This commit is contained in:
Dmitry Vasilev
2023-10-02 03:36:13 +03:00
parent 7847c9e879
commit 432c8c59a9
3 changed files with 10 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
// Fibonacci numbers
function fib(n) {
if(n == 0 || n == 1) {
return n

View File

@@ -13,6 +13,10 @@ const langs = _(repos.items)
import {barY} from "https://cdn.jsdelivr.net/npm/@observablehq/plot@0.6/+esm";
/*
Move the cursor to the following line and see the plot displayed alongside the code
*/
barY(langs, {x: "language", y: "count", sort: {x: "y", reverse: true}, fill: 'purple'})
.plot()

View File

@@ -1,3 +1,7 @@
/*
Example of TODO HTML5 app built using preact library
*/
import {h, render} from 'https://unpkg.com/preact?module';
import {createApp, handler, connect} from './app.js'