Instantly share code, notes, and snippets.

View blinking-starts.js
'use strict';
const initState = {
'A': {
white: true,
graph: {
'C': ['J', 'I'],
'D': ['F', 'G'],
'I': ['J'],
'G': ['F']
View ramen-table.js
'use strict';
const STEAT_COUNTS = 8;
class Table {
constructor() {
this.first = new Seat(0);
this.seats = [this.first]
let preSeat = this.first;
for (let i = 1; i < STEAT_COUNTS; i++) {