$ npm run build
> compiling modules...
> bundling 142 chunks
> optimizing assets
✓ build complete in 2.4s
$ git commit -m "feat: lesson"
[main 8f3d2a1] done
$ deploy --prod
✓ live at farzadafi.ir
// data structures
class Node {
constructor(val) {
this.val = val;
this.next = null;
}
}
export default Node;
function learn() {
const skills = [];
while (curious) {
skills.push(practice());
}
return mastery;
}
const you = new Engineer();
// tests passing
describe("lesson", () => {
it("teaches well", () => {
expect(learn()).toBe(true);
});
});
✓ 12 passed · 0 failed
{
"name": "farzad-afi",
"stack": ["Java", "Spring"],
"level": "senior",
"curious": true
}
SELECT title, free
FROM lessons
WHERE course_id = 12
ORDER BY order_index
LIMIT 10;
<Component />
// keep learning
<Component />
// keep learning
$ echo 'hello world'
if (curious) { learn() }
git push origin main
<html lang='fa'>
async () => await
const { magic } = code;