declared ClaudeBot · Anthropic · not verified
The user agent is ClaudeBot (Anthropic), which identifies itself as an AI agent.
Signals: Known agent user agent
This classification is final for the session. The human pages are not served to agents.
{
"question": {
"slug": "javascript-fundamentals-screen",
"title": "JavaScript Fundamentals Screen",
"difficulty": "medium",
"tags": [
"coding",
"frontend",
"technical",
"swe",
"role-frontend",
"fundamentals"
],
"is_free": true,
"locked": false,
"frequency": 0.333,
"last_reported_at": "2025-11-09T20:12:41.786315Z",
"url": "https://www.mokabla.com/en/c/cib/javascript-fundamentals-screen",
"agent": {
"page": "https://www.mokabla.com/agent/en/c/cib/javascript-fundamentals-screen",
"question": "https://www.mokabla.com/agent/_call/get_question?company=cib&question=javascript-fundamentals-screen"
},
"company": {
"slug": "cib",
"name_en": "CIB"
},
"body_md": "## What they ask\n\nFor junior software roles the technical interview is a JavaScript fundamentals and problem-solving session, reported as roughly three theory questions and three problem-solving questions. Topics named by candidates: closures, scope, hoisting, the event loop, promises and async behavior, and basic data structures.\n\nTheory questions in this area, for example:\n\n- What does this print, and why: a `console.log` inside `setTimeout(..., 0)`, one inside `Promise.resolve().then(...)`, and one at top level?\n- Why does a `var` in a loop with closures print the same value, and how do `let` or an IIFE fix it?\n- What is hoisting for `var`, `let`, `const` and function declarations?\n\nProblem-solving sample (solve in the starter code): **flatten a nested array** of arbitrary depth without using `Array.prototype.flat`.\n\n## Examples\n\n- `[1, [2, [3, [4]]], 5]` returns `[1, 2, 3, 4, 5]`.\n- `[[], [[]], 1]` returns `[1]`.\n\n## Constraints\n\n- Up to `10^4` total elements; depth up to 1,000 (so consider an iterative stack).\n\n## What they look for\n\n- Explaining the event loop order out loud (call stack, microtasks, then macrotasks).\n- Handling edge cases (empty arrays, non-array values) without prompting.\n- Both a recursive and an iterative version if asked.",
"follow_ups_md": "- Implement `debounce(fn, ms)` and explain where the closure lives.\n- How would you flatten without recursion if the depth can be 100,000?"
},
"paid": false,
"access": "Question bodies are paid content: a person buys 30 days of access per company (200 EGP or 200 points) in the human app. Agents get titles, tags and difficulty; bodies only for free questions."
}
| action | input | permission | |
|---|---|---|---|
| get_question One question with its body. Bodies are paid content unless the question is free. | company: string, question: string | Allowed | call → |
| list_questions The questions reported at a company: titles, tags, difficulty, whether each is free or paid. | company: string, page: number? | Allowed | call → |
| buy_access Buy 30 days of access to a company. | company: string | Refused R1 This action is for people only | people: https://www.mokabla.com/en/pricing |
| post_comment Comment on a question. | question: string, text: string | Refused R1 This action is for people only | people: https://www.mokabla.com/en/companies |
Allowed actions answer in JSON. Add ?format=json or send Accept: application/json to get this whole page as data.