Skip to content

Commit ce8086d

Browse files
committed
Addded front-end app setup
1 parent 82620a9 commit ce8086d

7 files changed

Lines changed: 471 additions & 3 deletions

File tree

chapter1/test/bank-account.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ describe('Bank account', () => {
77
var obj = {
88
foo: "hello world",
99
fn: function () {
10-
console.log(this.foo.split(''));
10+
console.log(arguments.join(''));
1111
}
1212
}
1313

14-
var boo = obj.fn;
15-
console.log(boo());
14+
obj.fn(1,2,3,4,45,6, "", {}, [], Infinity,1,23,1,12,12,3,12,3123,123,123,123,123,123,123);
15+
1616
//assert.equal(BankAccount.balance, 0);
1717
});
1818
})

chapter3/app.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
var express = require('express');
2+
var app = express();
3+
4+
app.use(express.static('public'))
5+
6+
app.listen(3000);

0 commit comments

Comments
 (0)