Skip to content

Instantly share code, notes, and snippets.

View itspoma's full-sized avatar
🔔
Contact if you have a project!

Roman Rodomansky itspoma

🔔
Contact if you have a project!
View GitHub Profile

DOM, BOM and Events in JavaScript world

CURSOR Education ©

DOM

Document Object Model

  • represent html in cascading tree

BOM

Browser Object Model

@itspoma
itspoma / javascript-functional-programming.md
Last active July 18, 2016 15:44
JS Functional Programming

Monads

function Monad(modifier) {
  return function unit(value) {
    var monad = Object.create(null);
    monad.bind = function (func) {
      return func(value);
    }
 return monad;