Show Menu
Cheatography

Test Cheat Sheet Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Overvview

Lorem ipsum dolor sit amet, elit noster pro in. Eu quem vidit interp­retaris sed. Ei mel falli recusabo. Aliquid intellegat omittantur vix ut, quot equidem at nec.

Eam id menandri tincidunt, an eum sumo putant mollis, pro cu soleat commodo. Qui tantas altera partiendo ne. In harum mucius nominati mea. Eam minim nusquam molestiae an. Eum solet minimum no, mea ei tale dicam feugiat, has ut tollit discere saperet.

Ferri facilisi defini­tiones sit an. Te aeterno eruditi cum. Suas consequat pro te, sint vero nam in. In tota pertinax salutatus vis. Qui dicam accusam ex, primis ceteros in sea. In qui decore tritani mediocrem. Virtute salutatus id qui.
   

Code Section

class Greeter {
    greeting: string;
    constructor(message: string) {
        this.greeting = message;
    }
    greet() {
        return "Hello, " + this.greeting;
    }
}

let greeter = new Greeter("world");

let button = document.createElement('button');
button.textContent = "Say Hello";
button.onclick = function() {
    alert(greeter.greet());
}

document.body.appendChild(button);