veebikoolitus-2018-03-live/hello/app.js

11 lines
123 B
JavaScript
Raw Normal View History

2018-03-22 18:29:00 +02:00
"use strict;"
let bookId = 0;
function genNewBookId() {
2018-03-22 18:30:53 +02:00
bookID++;
2018-03-22 18:29:00 +02:00
return bookId;
}
console.log(genNewBookId());