---
title: "#eloquent-javascript articles | Hashnode"
description: "Explore 3 articles tagged #eloquent-javascript on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/eloquent-javascript"
---

Tag

# #eloquent-javascript

3 posts · 0 followers

[Michelle Chen](https://hashnode.com/@MichelleChen99) · [Sep 14, 2025](https://hashnode.com/posts/5ye95byp6kit6kii77ya5zau5lia6ig36lks5y6f5ymh/68c67b484e9a7a087b1e13d3)

### [函式設計：單一職責原則](https://code-and-reflection.hashnode.dev/5ye95byp6kit6kii77ya5zau5lia6ig36lks5y6f5ymh?utm_source=hashnode&utm_medium=feed)

這是《Eloquent JavaScript》第三章 Functions，談到 Growing Function 所舉的一個例子。這個例子提供了三種寫法，很好地體現了「每支函式應該只做一件事」的精神。 功能需求：有座牧場畜養了一群動物，種類有乳牛、雞、豬，需紀錄牠們的個別隻數。牧場主人希望數字保持三位數，若位數不足要加 0 補齊，並在數字後註明是哪種動物，方便他列印表單。像這樣： 007 Cows 011 Chickens 003 Pigs 關鍵知識點： while 迴圈：滿足條件期...

2 min read · [code-and-reflection.hashnode.dev](https://code-and-reflection.hashnode.dev/5ye95byp6kit6kii77ya5zau5lia6ig36lks5y6f5ymh?utm_source=hashnode&utm_medium=feed)

[Madeline Caples](https://hashnode.com/@madeline_pc) · [Apr 8, 2024](https://hashnode.com/posts/reverse-an-array-in-place-with-me/66142e149c77f3877a34988e)

### [Reverse an array in place with me](https://madelinecaples.hashnode.dev/reverse-an-array-in-place-with-me?utm_source=hashnode&utm_medium=feed)

In which I decide to get better at Javascript

4 min read · [madelinecaples.hashnode.dev](https://madelinecaples.hashnode.dev/reverse-an-array-in-place-with-me?utm_source=hashnode&utm_medium=feed)

[Yashas V](https://hashnode.com/@Yashas8197) · [Feb 18, 2024](https://hashnode.com/posts/chapter-2-program-structure-part-1/65d2489fc4a9535b9189ba78)

### [Chapter 2 - Program Structure (Part 1)](https://codefor.hashnode.dev/chapter-2-program-structure-part-1?utm_source=hashnode&utm_medium=feed)

🚀 Just explored the basics of JavaScript programming in Eloquent JavaScript.

3 min read · [codefor.hashnode.dev](https://codefor.hashnode.dev/chapter-2-program-structure-part-1?utm_source=hashnode&utm_medium=feed)
