---
title: "Discussion on \"🚀 JavaScript Challenge of the Day — Are You a True Ninja?\" | Hashnode"
description: "Discussion on \"🚀 JavaScript Challenge of the Day — Are You a True Ninja?\". Test your skills with a brain-teasing problem from JavaScriptNinjas.com 🥷💻\n🧠 Can you solve this?\n🔹 Question:Write a function that returns true if a number is \"almost prime\", meaning it has exactly two distinct prime factors.\n🔸 Example Inputs & O..."
url: "https://hashnode.com/posts/javascript-challenge-of-the-day-are-you-a-true-ninja/688ad05e3451aac86aa82da7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [🚀 JavaScript Challenge of the Day — Are You a True Ninja?](https://javascriptninjas.hashnode.dev/javascript-challenge-of-the-day-are-you-a-true-ninja?utm_source=hashnode&utm_medium=feed)

Test your skills with a brain-teasing problem from JavaScriptNinjas.com 🥷💻 🧠 Can you solve this? 🔹 Question:Write a function that returns true if a number is "almost prime", meaning it has exactly two distinct prime factors. 🔸 Example Inputs & O...

Jul 31, 2025 · 1 min read · javascriptninjas.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Mahendra shahi](https://hashnode.com/@javascriptninjas)

@javascriptninjas

  
[View profile](https://hashnode.com/@javascriptninjas)

javascript web-development coding-challenges programming beginners learning frontend

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
