📜 33 JavaScript concepts every developer should know.
35 matches across 5 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …amentals/equality-operators/equality-operators.test.js | 146 | // Step 1: Evaluate ![] |
| LOW | …amentals/equality-operators/equality-operators.test.js | 151 | // Step 2: Now we have [] == false |
| LOW | …amentals/equality-operators/equality-operators.test.js | 155 | // Step 3: Object → Primitive |
| LOW | …amentals/equality-operators/equality-operators.test.js | 159 | // Step 4: String → Number |
| LOW | …nted/this-call-apply-bind/this-call-apply-bind.test.js | 1222 | // Step 1: Create empty object |
| LOW | …nted/this-call-apply-bind/this-call-apply-bind.test.js | 1225 | // Step 2: Link prototype if it's an object |
| LOW | …nted/this-call-apply-bind/this-call-apply-bind.test.js | 1230 | // Step 3: Bind this and execute |
| LOW | …nted/this-call-apply-bind/this-call-apply-bind.test.js | 1233 | // Step 4: Return object (unless constructor returns a non-primitive) |
| LOW | …rogramming/map-reduce-filter/map-reduce-filter.test.js | 770 | // Step 1: Get boolean results for each element |
| LOW | …rogramming/map-reduce-filter/map-reduce-filter.test.js | 773 | // Step 2: Filter using the boolean results |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …amentals/scope-and-closures/scope-and-closures.test.js | 26 | function processData() { |
| LOW | …amentals/primitives-objects/primitives-objects.test.js | 775 | function processData(data) { |
| LOW | …jects-properties/object-methods/object-methods.test.js | 524 | function processData(data) { |
| LOW | …erformance/memory-management/memory-management.test.js | 220 | function processData() { |
| LOW | …erformance/memory-management/memory-management.test.js | 314 | function getData(obj) { |
| LOW | …erformance/memory-management/memory-management.test.js | 452 | function processData() { |
| LOW | …formance/garbage-collection/garbage-collection.test.js | 141 | function processData() { |
| LOW | tests/async-javascript/callbacks/callbacks.test.js | 832 | function getData(callback) { |
| LOW | tests/async-javascript/callbacks/callbacks.test.js | 839 | function processData(data, callback) { |
| LOW | tests/async-javascript/callbacks/callbacks.test.js | 1044 | function getData(key, callback) { |
| LOW | tests/async-javascript/callbacks/callbacks.test.js | 1088 | function getData(key, callback) { |
| LOW | …ts/functions-execution/async-await/async-await.test.js | 854 | async function getData() { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …cts-properties/weakmap-weakset/weakmap-weakset.test.js | 254 | expect(getFullName(person)).toBe('John Doe') |
| LOW | …cts-properties/weakmap-weakset/weakmap-weakset.test.js | 257 | expect(getFullName(person)).toBe('John Doe') |
| LOW | …topics/regular-expressions/regular-expressions.test.js | 231 | const match = '555-1234'.match(pattern) |
| LOW | …topics/regular-expressions/regular-expressions.test.js | 232 | expect(match[0]).toBe('555-1234') |
| LOW | …topics/regular-expressions/regular-expressions.test.js | 239 | const match = '555-1234'.match(pattern) |
| LOW | …topics/regular-expressions/regular-expressions.test.js | 291 | expect(email.test('user@example.com')).toBe(true) |
| LOW | …/functions-execution/iife-modules/iife-modules.test.js | 741 | authModule.login('user@example.com') |
| LOW | …/functions-execution/iife-modules/iife-modules.test.js | 742 | expect(authModule.getCurrentUser().email).toBe('user@example.com') |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/beyond/browser-storage/cookies/cookies.test.js | 1 | import { describe, it, expect } from 'vitest' |
| LOW | …/advanced-topics/error-handling/error-handling.test.js | 541 | // The following patterns from the concept page are browser-specific |
| LOW | tests/async-javascript/callbacks/callbacks.test.js | 1241 | setTimeout(() => output.push('D'), 0) |
| LOW | docs/robots.txt | 1 | # Belt-and-suspenders robots.txt for 33jsconcepts.com |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …ged-template-literals/tagged-template-literals.test.js | 330 | // More robust key extraction - handles the actual string splitting |