---
title: "#javascript articles | Hashnode"
description: "JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions"
url: "https://hashnode.com/tag/javascript"
---

Tag

# #javascript

68,938 posts · 317,326 followers

[Muhammad Imran](https://hashnode.com/@muhammadimran) · [4m ago](https://hashnode.com/posts/your-time-math-is-wrong-why-hours-and-minutes-break-your-code/6afa9c8df3fb5ef3cc189665)

### [Your Time Math Is Wrong: Why Hours and Minutes Break Your Code](https://handynest.hashnode.dev/your-time-math-is-wrong-why-hours-and-minutes-break-your-code?utm_source=hashnode&utm_medium=feed)

Subtracting two times looks like the easiest code you will write all week. A shift starts at 9:30 and ends at 17:45, so the answer is 8 hours and 15 minutes. Any developer can do that in their head, w

6 min read · [handynest.hashnode.dev](https://handynest.hashnode.dev/your-time-math-is-wrong-why-hours-and-minutes-break-your-code?utm_source=hashnode&utm_medium=feed)

[ProjTL](https://hashnode.com/@projtl) · [6m ago](https://hashnode.com/posts/how-to-detect-circular-task-dependencies-in-typescript-with-tests/6afa9c25f3fb5ef3cc1763db)

### [How to Detect Circular Task Dependencies in TypeScript (With Tests)](https://projtl.hashnode.dev/how-to-detect-circular-task-dependencies-in-typescript-with-tests?utm_source=hashnode&utm_medium=feed)

Find circular task dependencies in TypeScript, report the exact loop, get a safe working order, and block bad links before saving. Includes tests.

10 min read · [projtl.hashnode.dev](https://projtl.hashnode.dev/how-to-detect-circular-task-dependencies-in-typescript-with-tests?utm_source=hashnode&utm_medium=feed)

[Asher (BONG GO)](https://hashnode.com/@asher9886) · [8m ago](https://hashnode.com/posts/use-muse-to-brainstorm-boundary-tests-for-a-small-javascript-input-validator/6afa9b8ef8bcef27e4b89652)

### [Use Muse to brainstorm boundary tests for a small JavaScript input validator](https://asher9886.hashnode.dev/use-muse-to-brainstorm-boundary-tests-for-a-small-javascript-input-validator?utm_source=hashnode&utm_medium=feed)

AI can suggest test cases quickly, but a test is only useful if its expected result follows a contract you can check. Here is a small exercise for developers: use Muse to brainstorm cases for a comma-

4 min read · [asher9886.hashnode.dev](https://asher9886.hashnode.dev/use-muse-to-brainstorm-boundary-tests-for-a-small-javascript-input-validator?utm_source=hashnode&utm_medium=feed)

[Abhishek V](https://hashnode.com/@abhishek-vedant) · [33m ago](https://hashnode.com/posts/contains-duplicate-arrays-hashing-neetcode-250-js-ts/6afa95a7f0662b7303808f86)

### [Contains Duplicate || Arrays & Hashing || Neetcode 250 || JS/TS](https://webbyjournal.hashnode.dev/contains-duplicate-arrays-hashing-neetcode-250-js-ts?utm_source=hashnode&utm_medium=feed)

Learn three ways to solve the "Contains Duplicate" from simple brute force to fast, efficient solutions using Sets and early exit optimization.

3 min read · [webbyjournal.hashnode.dev](https://webbyjournal.hashnode.dev/contains-duplicate-arrays-hashing-neetcode-250-js-ts?utm_source=hashnode&utm_medium=feed)

[Paras](https://hashnode.com/@parasraju) · [1h ago](https://hashnode.com/posts/day-5-451-downloads-yesterday/6afa88388c98e0f1ab361960)

### [Day 5: +451 downloads yesterday](https://parasraju.hashnode.dev/day-5-451-downloads-yesterday?utm_source=hashnode&utm_medium=feed)

Yesterday's downloads: 6,402 combined, up 451 from the day before. 3,598 to go to 10,000. plumber-linter: 1,785 (+16) hexlens: 1,231 (+14) environmental-peek: 1,364 (+35) react-dismiss: 1,137 (+185)

1 min read · [parasraju.hashnode.dev](https://parasraju.hashnode.dev/day-5-451-downloads-yesterday?utm_source=hashnode&utm_medium=feed)

[It's me !!](https://hashnode.com/@pukark) · [2h ago](https://hashnode.com/posts/why-free-chess-analysis-is-always-capped-at-one-game-a-day/6afa80c568d5433eb1d35228)

### [Why free chess analysis is always capped at one game a day](https://chessdream.hashnode.dev/why-free-chess-analysis-is-always-capped-at-one-game-a-day?utm_source=hashnode&utm_medium=feed)

Most free chess game review gives you one game per day. Chess.com works that way, and so does almost every smaller site offering the feature. I assumed for a long time that this was just a paywall pla

7 min read · [chessdream.hashnode.dev](https://chessdream.hashnode.dev/why-free-chess-analysis-is-always-capped-at-one-game-a-day?utm_source=hashnode&utm_medium=feed)

[Audrey Miller](https://hashnode.com/@aiaitools) · [2h ago](https://hashnode.com/posts/one-viral-outfit-is-not-a-trend-building-a-source-diversity-checker-for-fashion-data/6afa7ed58066668fc17ce8e8)

### [One Viral Outfit Is Not a Trend: Building a Source-Diversity Checker for Fashion Data](https://aiaitools.hashnode.dev/one-viral-outfit-is-not-a-trend-building-a-source-diversity-checker-for-fashion-data?utm_source=hashnode&utm_medium=feed)

Learn to analyze fashion trends with JavaScript using source deduplication, independent observations, and evidence-based trend signals.

7 min read · [aiaitools.hashnode.dev](https://aiaitools.hashnode.dev/one-viral-outfit-is-not-a-trend-building-a-source-diversity-checker-for-fashion-data?utm_source=hashnode&utm_medium=feed)

[Yuan Qin](https://hashnode.com/@aitoolresearch) · [2h ago](https://hashnode.com/posts/when-should-an-ai-app-escalate-to-claude-fable-5-2-designing-an-evaluation-gated-model-router/6afa7d6a3c18652962ce8fc2)

### [When Should an AI App Escalate to Claude Fable 5.2? Designing an Evaluation-Gated Model Router](https://aitoolresearch.hashnode.dev/when-should-an-ai-app-escalate-to-claude-fable-5-2-designing-an-evaluation-gated-model-router?utm_source=hashnode&utm_medium=feed)

Learn when to use Claude Fable 5.2 and how to design an evaluation-gated AI model router with token budgets and cost controls.

7 min read · [aitoolresearch.hashnode.dev](https://aitoolresearch.hashnode.dev/when-should-an-ai-app-escalate-to-claude-fable-5-2-designing-an-evaluation-gated-model-router?utm_source=hashnode&utm_medium=feed)

[bowen Tse](https://hashnode.com/@bowentse) · [3h ago](https://hashnode.com/posts/cups-to-grams-is-a-density-lookup-not-a-conversion/6afa6fbc5a16a43b5d096eb9)

### [Cups to Grams Is a Density Lookup, Not a Conversion](https://toolkitloop.hashnode.dev/cups-to-grams-is-a-density-lookup-not-a-conversion?utm_source=hashnode&utm_medium=feed)

Volume-to-volume conversion is fixed arithmetic. Cups to grams needs an ingredient density table — and the honest implementation refuses to guess when it is missing.

8 min read · [toolkitloop.hashnode.dev](https://toolkitloop.hashnode.dev/cups-to-grams-is-a-density-lookup-not-a-conversion?utm_source=hashnode&utm_medium=feed)

[2645149786-dotcom](https://hashnode.com/@dongzihang) · [3h ago](https://hashnode.com/posts/notallowederror-notfounderror-notreadableerror-what-getusermedia-is-really-telling-you/6afa65e48f4a227d64ed0327)

### [NotAllowedError, NotFoundError, NotReadableError: what getUserMedia is really telling you](https://toolknit.hashnode.dev/notallowederror-notfounderror-notreadableerror-what-getusermedia-is-really-telling-you?utm_source=hashnode&utm_medium=feed)

A layer-by-layer checklist for "camera or microphone not working" bugs in web apps

3 min read · [toolknit.hashnode.dev](https://toolknit.hashnode.dev/notallowederror-notfounderror-notreadableerror-what-getusermedia-is-really-telling-you?utm_source=hashnode&utm_medium=feed)
