---
title: "Iineman2 (@lineman2) | Hashnode"
description: "Iineman2 (@lineman2) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@lineman2"
---

@lineman2

# Iineman2

@lineman2 · Joined December 2026

### [4 JavaScript Array Bugs Beginners Hit — and How to Watch Them Happen](https://codeglyphs.hashnode.dev/four-javascript-array-bugs-beginners-hit?utm_source=hashnode&utm_medium=feed)

for...of items vs indexes, indexOf returning 0, splice in a forward loop, and sort() comparing text

12 min read · [codeglyphs.hashnode.dev](https://codeglyphs.hashnode.dev/four-javascript-array-bugs-beginners-hit?utm_source=hashnode&utm_medium=feed)

[1d ago](https://hashnode.com/posts/four-javascript-array-bugs-beginners-hit/6b1114abb0dd78a64aac0882)

### [Why Your \`if / else\` Took the Wrong Branch: 4 JavaScript Condition Traps](https://codeglyphs.hashnode.dev/why-your-if-else-took-the-wrong-branch-4-javascript-condition-traps?utm_source=hashnode&utm_medium=feed)

"My if is wrong" is almost never true. The if did exactly what you wrote. It just took a different branch from the one you had in your head. That gap between the branch you expected and the branch tha

10 min read · [codeglyphs.hashnode.dev](https://codeglyphs.hashnode.dev/why-your-if-else-took-the-wrong-branch-4-javascript-condition-traps?utm_source=hashnode&utm_medium=feed)

[1d ago](https://hashnode.com/posts/why-your-if-else-took-the-wrong-branch-4-javascript-condition-traps/6b11011edbcf9bcaa7c8f33c)

### [5 JavaScript Loop Bugs Every Beginner Hits (And How to Watch Them Happen)](https://codeglyphs.hashnode.dev/5-javascript-loop-bugs-every-beginner-hits-and-how-to-watch-them-happen?utm_source=hashnode&utm_medium=feed)

Most loop bugs don't crash. They hand back a number that is slightly wrong, and the code looks fine when you read it top to bottom. Reading loops like prose is the problem. A loop is a small machine:

11 min read · [codeglyphs.hashnode.dev](https://codeglyphs.hashnode.dev/5-javascript-loop-bugs-every-beginner-hits-and-how-to-watch-them-happen?utm_source=hashnode&utm_medium=feed)

[2d ago](https://hashnode.com/posts/5-javascript-loop-bugs-every-beginner-hits-and-how-to-watch-them-happen/6b0ff9a963b7386eae99257d)
