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