add lost semicolons (#89)
This commit is contained in:
committed by
Aditya Bhargava
parent
3e887a6d3c
commit
be4a420dd5
@@ -1,23 +1,23 @@
|
||||
'use strict';
|
||||
|
||||
// the graph
|
||||
const graph = {}
|
||||
graph["start"] = {}
|
||||
graph["start"]["a"] = 6
|
||||
graph["start"]["b"] = 2
|
||||
const graph = {};
|
||||
graph["start"] = {};
|
||||
graph["start"]["a"] = 6;
|
||||
graph["start"]["b"] = 2;
|
||||
|
||||
graph["a"] = {}
|
||||
graph["a"]["fin"] = 1
|
||||
graph["a"] = {};
|
||||
graph["a"]["fin"] = 1;
|
||||
|
||||
graph["b"] = {}
|
||||
graph["b"]["a"] = 3
|
||||
graph["b"]["fin"] = 5
|
||||
graph["b"] = {};
|
||||
graph["b"]["a"] = 3;
|
||||
graph["b"]["fin"] = 5;
|
||||
|
||||
graph["fin"] = {}
|
||||
graph["fin"] = {};
|
||||
|
||||
// The costs table
|
||||
const costs = {};
|
||||
costs['a'] = 6
|
||||
costs['a'] = 6;
|
||||
costs['b'] = 2;
|
||||
costs['fin'] = Infinity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user