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

16 lines
383 B
JavaScript
Raw Normal View History

2023-09-11 12:47:30 +00:00
"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