This repository has been archived on 2023-09-20. You can view files and clone it, but cannot push or open issues or pull requests.
tmp/dist/index.js
2023-09-11 15:47:30 +03:00

16 lines
No EOL
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