16 lines
383 B
JavaScript
16 lines
383 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
function getFromDb() {
|
||
|
return [{
|
||
|
name: "kfir",
|
||
|
email: "kfir@gmail.com",
|
||
|
}];
|
||
|
}
|
||
|
function sendError(error) {
|
||
|
throw new Error(error);
|
||
|
}
|
||
|
const data = getFromDb();
|
||
|
const name = data[0].name;
|
||
|
const email = data[0].email;
|
||
|
console.log(data);
|
||
|
//# sourceMappingURL=index.js.map
|