Pinned Loading
-
Flatten function
Flatten function 1// Continuation Passing Style2function flatten([first, ...rest], cont = (x) => x) {
3if (rest.length === 0) {
4return cont(Array.isArray(first) ? flatten(first) : : first ? [first] : []);
5} -
Least Recently Used Cache
Least Recently Used Cache 1function LRUcache(size) {
2const cache = new Map();
34function get(key) {
5let value = -1;
-
learning-jamstack-one
learning-jamstack-one PublicSimple site listing my Github repositories
JavaScript
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.