SYMBOL INDEX (1468 symbols across 59 files) FILE: docs/schema-inject.js function safeText (line 16) | function safeText(value) { function withoutHash (line 20) | function withoutHash(url) { function getSiteOrigin (line 24) | function getSiteOrigin() { function normalizePath (line 33) | function normalizePath(pathname) { function toTitle (line 39) | function toTitle(segment) { function toAbsoluteUrl (line 55) | function toAbsoluteUrl(pathOrUrl) { function getCanonicalUrl (line 63) | function getCanonicalUrl() { function getDescription (line 72) | function getDescription() { function getPageTitle (line 81) | function getPageTitle() { function getDatePublished (line 93) | function getDatePublished() { function isHomePage (line 113) | function isHomePage(pathname) { function isConceptArticle (line 117) | function isConceptArticle(pathname) { function isConceptLink (line 121) | function isConceptLink(pathname) { function textFromCandidates (line 125) | function textFromCandidates(candidates, questionText) { function findFaqHeading (line 145) | function findFaqHeading() { function getFaqSectionNodes (line 157) | function getFaqSectionNodes(heading) { function getFaqAnswerText (line 170) | function getFaqAnswerText(trigger, questionText) { function extractFaqItems (line 202) | function extractFaqItems() { function buildBreadcrumbList (line 244) | function buildBreadcrumbList(pathname) { function buildConceptItemList (line 272) | function buildConceptItemList() { function buildGraph (line 325) | function buildGraph() { function injectSchema (line 387) | function injectSchema() { FILE: tests/advanced-topics/algorithms-big-o/algorithms-big-o.test.js function linearSearch (line 8) | function linearSearch(arr, target) { function binarySearch (line 16) | function binarySearch(arr, target) { function bubbleSort (line 36) | function bubbleSort(arr) { function mergeSort (line 58) | function mergeSort(arr) { function merge (line 68) | function merge(left, right) { function twoSum (line 91) | function twoSum(arr, target) { function maxSumSubarray (line 107) | function maxSumSubarray(arr, k) { function isAnagram (line 126) | function isAnagram(str1, str2) { function hasDuplicates (line 144) | function hasDuplicates(arr) { function longestUniqueSubstring (line 154) | function longestUniqueSubstring(s) { FILE: tests/advanced-topics/data-structures/data-structures.test.js function countWords (line 160) | function countWords(text) { class User (line 307) | class User { method constructor (line 308) | constructor(name, password) { method checkPassword (line 313) | checkPassword(input) { function processOnce (line 341) | function processOnce(obj) { class Stack (line 356) | class Stack { method constructor (line 357) | constructor() { method push (line 361) | push(item) { method pop (line 365) | pop() { method peek (line 369) | peek() { method isEmpty (line 373) | isEmpty() { method size (line 377) | size() { function isValid (line 424) | function isValid(s) { class Queue (line 451) | class Queue { method constructor (line 452) | constructor() { method enqueue (line 456) | enqueue(item) { method dequeue (line 460) | dequeue() { method front (line 464) | front() { method isEmpty (line 468) | isEmpty() { method size (line 472) | size() { class Node (line 520) | class Node { method constructor (line 521) | constructor(value) { class LinkedList (line 527) | class LinkedList { method constructor (line 528) | constructor() { method prepend (line 533) | prepend(value) { method append (line 540) | append(value) { method find (line 555) | find(value) { method toArray (line 566) | toArray() { function reverseList (line 631) | function reverseList(head) { class TreeNode (line 656) | class TreeNode { method constructor (line 657) | constructor(value) { class BinarySearchTree (line 664) | class BinarySearchTree { method constructor (line 665) | constructor() { method insert (line 669) | insert(value) { method search (line 695) | search(value) { method inOrder (line 708) | inOrder(node = this.root, result = []) { function maxDepth (line 755) | function maxDepth(root) { class Graph (line 796) | class Graph { method constructor (line 797) | constructor() { method addVertex (line 801) | addVertex(vertex) { method addEdge (line 807) | addEdge(v1, v2) { method bfs (line 812) | bfs(start) { method dfs (line 834) | dfs(start, visited = new Set(), result = []) { function twoSum (line 900) | function twoSum(nums, target) { function hasCycle (line 922) | function hasCycle(head) { class QueueFromStacks (line 957) | class QueueFromStacks { method constructor (line 958) | constructor() { method enqueue (line 963) | enqueue(item) { method dequeue (line 967) | dequeue() { FILE: tests/advanced-topics/design-patterns/design-patterns.test.js method increment (line 11) | increment() { method decrement (line 15) | decrement() { method getCount (line 19) | getCount() { function privateHelper (line 37) | function privateHelper(value) { method publicMethod (line 43) | publicMethod(value) { class Singleton (line 58) | class Singleton { method constructor (line 59) | constructor() { function createUser (line 121) | function createUser(name, role) { function createProduct (line 139) | function createProduct(name) { function createNotification (line 151) | function createNotification(type, message) { method subscribe (line 183) | subscribe(fn) { method notify (line 190) | notify(data) { method get (line 261) | get(obj, prop) { method set (line 277) | set(obj, prop, value) { method set (line 299) | set(obj, prop, value) { method get (line 335) | get(obj, prop) { method chirp (line 352) | chirp() { method fly (line 359) | fly() { method getInfo (line 374) | getInfo() { method getDiscountedPrice (line 382) | getDiscountedPrice() { method describe (line 399) | describe() { method swim (line 407) | swim() { method fly (line 415) | fly() { method breatheFire (line 423) | breatheFire() { method on (line 518) | on(event, callback) { method off (line 525) | off(event, callback) { method emit (line 532) | emit(event, data) { method takeDamage (line 573) | takeDamage(amount) { method attack (line 581) | attack() { FILE: tests/advanced-topics/error-handling/error-handling.test.js function example (line 85) | function example() { function example (line 103) | function example() { function divide (line 271) | function divide(a, b) { function validateAge (line 316) | function validateAge(age) { class ValidationError (line 369) | class ValidationError extends Error { method constructor (line 370) | constructor(message) { method constructor (line 421) | constructor(message) { method constructor (line 744) | constructor(errors) { class AppError (line 386) | class AppError extends Error { method constructor (line 387) | constructor(message, options) { class ValidationError (line 393) | class ValidationError extends AppError {} method constructor (line 370) | constructor(message) { method constructor (line 421) | constructor(message) { method constructor (line 744) | constructor(errors) { class NetworkError (line 394) | class NetworkError extends AppError {} method constructor (line 405) | constructor(message, statusCode) { method constructor (line 428) | constructor(message) { class NetworkError (line 404) | class NetworkError extends Error { method constructor (line 405) | constructor(message, statusCode) { method constructor (line 428) | constructor(message) { class ValidationError (line 420) | class ValidationError extends Error { method constructor (line 370) | constructor(message) { method constructor (line 421) | constructor(message) { method constructor (line 744) | constructor(errors) { class NetworkError (line 427) | class NetworkError extends Error { method constructor (line 405) | constructor(message, statusCode) { method constructor (line 428) | constructor(message) { class DataLoadError (line 451) | class DataLoadError extends Error { method constructor (line 452) | constructor(message, options) { function failingOperation (line 483) | async function failingOperation() { function parseWithBugHidden (line 588) | function parseWithBugHidden(input) { function parseCorrectly (line 598) | function parseCorrectly(input) { function badFetch (line 638) | async function badFetch() { function goodFetch (line 647) | async function goodFetch() { function flakyOperation (line 704) | async function flakyOperation() { function fetchWithRetry (line 712) | async function fetchWithRetry(operation, retries = 3) { class ValidationError (line 743) | class ValidationError extends Error { method constructor (line 370) | constructor(message) { method constructor (line 421) | constructor(message) { method constructor (line 744) | constructor(errors) { function validateUser (line 751) | function validateUser(data) { function fetchFromApi (line 786) | async function fetchFromApi() { function loadFromCache (line 791) | async function loadFromCache() { function loadUserPreferences (line 796) | async function loadUserPreferences() { function parseUserData (line 823) | function parseUserData(json) { function processOrder (line 841) | function processOrder(order) { FILE: tests/advanced-topics/es-modules/es-modules.test.js function createCommonJSModule (line 14) | function createCommonJSModule() { function createESMModule (line 35) | function createESMModule() { method setUser (line 58) | setUser(u) { moduleState.user = u } method getUser (line 59) | getUser() { return moduleState.user } method currentUser (line 103) | get currentUser() { return currentUser } method isAuthenticated (line 104) | get isAuthenticated() { return isAuthenticated } method login (line 105) | login(user) { method logout (line 109) | logout() { method value (line 167) | get value() { return value } method setValue (line 168) | setValue(v) { value = v } method log (line 436) | log(msg) { return `[LOG] ${msg}` } function loadTheme (line 462) | async function loadTheme(themeName) { function loadPage (line 481) | async function loadPage(pageName) { method constructor (line 499) | constructor(data) { method render (line 503) | render() { function showChart (line 509) | async function showChart(data) { function loadComponents (line 531) | async function loadComponents() { method constructor (line 602) | constructor(radius) { this.radius = radius } method area (line 603) | area() { return moduleExports.PI * this.radius ** 2 } function square (line 619) | function square(x) { return x * x } function internalHelper (line 631) | function internalHelper() { return 'helped' } function _privateUtil (line 632) | function _privateUtil() { return 'util' } function greet (line 649) | function greet(name) { return `Hello, ${name}!` } class User (line 660) | class User { method constructor (line 661) | constructor(name) { this.name = name } method greet (line 662) | greet() { return `Hi, I'm ${this.name}` } function React (line 697) | function React() { return 'React' } function useState (line 698) | function useState(initial) { return [initial, () => {}] } function useEffect (line 699) | function useEffect(fn) { fn() } method log (line 824) | log(msg) { return msg } function getThis (line 889) | function getThis() { function getThisInStrictMode (line 938) | function getThisInStrictMode() { method increment (line 1124) | increment() { this.count++ } method increment (line 1134) | increment() { cjsCount++ } function loadFeature (line 1150) | async function loadFeature(name) { FILE: tests/advanced-topics/modern-js-syntax/modern-js-syntax.test.js function greet (line 155) | function greet({ name, greeting = 'Hello' }) { function greet (line 164) | function greet({ name = 'Guest' } = {}) { function sum (line 226) | function sum(...numbers) { function log (line 236) | function log(first, ...rest) { function upper (line 272) | function upper(strings, ...values) { function greet (line 405) | function greet(name = 'Guest', greeting = 'Hello') { function example (line 415) | function example(value = 'default') { function createRect (line 427) | function createRect(width, height = width) { function getDefault (line 437) | function getDefault() { return ++counter } function example (line 439) | function example(value = getDefault()) { method add (line 466) | add(a, b) { return a + b } method subtract (line 467) | subtract(a, b) { return a - b } FILE: tests/async-javascript/callbacks/callbacks.dom.test.js function handleClick (line 56) | function handleClick(event) { function handleMouseOver (line 60) | function handleMouseOver(event) { function handleClick (line 80) | function handleClick(event) { FILE: tests/async-javascript/callbacks/callbacks.test.js function greet (line 93) | function greet(name) { function processUserInput (line 98) | function processUserInput(callback) { function simulateAddEventListener (line 113) | function simulateAddEventListener(event, callback) { function handleClick (line 118) | function handleClick() { function fetchUserData (line 551) | function fetchUserData(userId, callback) { function callback (line 602) | function callback(error, result) { function divideAsync (line 621) | function divideAsync(a, b, callback) { function processDataWrong (line 675) | function processDataWrong(data, callback) { function processDataCorrect (line 687) | function processDataCorrect(data, callback) { function getUser (line 722) | function getUser(userId, callback) { function verifyPassword (line 729) | function verifyPassword(user, password, callback) { function getProfile (line 736) | function getProfile(userId, callback) { function getSettings (line 743) | function getSettings(userId, callback) { function renderDashboard (line 750) | function renderDashboard(user, profile, settings, callback) { function handleError (line 757) | function handleError(error) { function getData (line 832) | function getData(callback) { function processData (line 839) | function processData(data, callback) { function saveData (line 846) | function saveData(processed, callback) { function handleError (line 853) | function handleError(err) { function handleData (line 859) | function handleData(err, data) { function handleProcessed (line 864) | function handleProcessed(err, processed) { function handleSaved (line 869) | function handleSaved(err) { function validateUser (line 892) | function validateUser(user, callback) { function saveUser (line 898) | function saveUser(user, callback) { function processUser (line 905) | function processUser(user, callback) { function getUser (line 937) | function getUser(email, callback) { function verifyPassword (line 941) | function verifyPassword(user, password, callback) { function authenticateUser (line 945) | function authenticateUser(credentials, callback) { function getProfile (line 958) | function getProfile(userId, callback) { function getSettings (line 962) | function getSettings(userId, callback) { function loadUserProfile (line 966) | function loadUserProfile(userId, callback) { function handleError (line 977) | function handleError(err) { function renderDashboard (line 981) | function renderDashboard(user, profile, settings) { function fetchDataWrong (line 1022) | function fetchDataWrong(url, callback) { function getData (line 1044) | function getData(key, callback) { function getData (line 1088) | function getData(key, callback) { method greet (line 1270) | greet() { method greet (line 1282) | greet() { method greet (line 1294) | greet() { function getUser (line 1355) | function getUser(userId, callback) { function getProfile (line 1359) | function getProfile(userId, callback) { function handleError (line 1363) | function handleError(err) { function handleUser (line 1368) | function handleUser(err, user) { function handleProfile (line 1373) | function handleProfile(err, profile) { function once (line 1442) | function once(callback) { FILE: tests/beyond/browser-storage/cookies/cookies.dom.test.js function getCookie (line 101) | function getCookie(name) { function parseCookies (line 131) | function parseCookies() { function hasCookie (line 165) | function hasCookie(name) { function setCookie (line 190) | function setCookie(name, value, options = {}) { function setCookie (line 248) | function setCookie(name, value, options = {}) { function deleteCookie (line 265) | function deleteCookie(name, options = {}) { function getCookie (line 407) | function getCookie(name) { function parseCookies (line 431) | function parseCookies() { function getCookie (line 458) | function getCookie(name) { function getCookie (line 493) | function getCookie(name) { function getCookie (line 514) | function getCookie(name) { function getCookie (line 532) | function getCookie(name) { FILE: tests/beyond/browser-storage/cookies/cookies.test.js function getCookie (line 70) | function getCookie(cookieString, name) { function parseCookies (line 114) | function parseCookies(cookieString) { function hasCookie (line 165) | function hasCookie(cookieString, name) { function buildCookieString (line 204) | function buildCookieString(name, value, options = {}) { function pathMatches (line 367) | function pathMatches(cookiePath, requestPath) { function getCookie (line 557) | function getCookie(cookieString, name) { function parseCookies (line 574) | function parseCookies(cookieString) { FILE: tests/beyond/browser-storage/indexeddb/indexeddb.test.js function promisifyRequest (line 13) | function promisifyRequest(request) { function promisifyRequest (line 37) | function promisifyRequest(request) { function openDatabase (line 64) | function openDatabase(name, version, onUpgrade) { class UserDatabase (line 181) | class UserDatabase { method constructor (line 182) | constructor() { method add (line 186) | async add(user) { method get (line 194) | async get(id) { method getByEmail (line 198) | async getByEmail(email) { method update (line 205) | async update(user) { method delete (line 210) | async delete(id) { method getAll (line 214) | async getAll() { method constructor (line 234) | constructor() { method add (line 238) | async add(user) { method get (line 246) | async get(id) { method getByEmail (line 250) | async getByEmail(email) { method update (line 257) | async update(user) { method delete (line 262) | async delete(id) { method getAll (line 266) | async getAll() { class UserDatabase (line 233) | class UserDatabase { method constructor (line 182) | constructor() { method add (line 186) | async add(user) { method get (line 194) | async get(id) { method getByEmail (line 198) | async getByEmail(email) { method update (line 205) | async update(user) { method delete (line 210) | async delete(id) { method getAll (line 214) | async getAll() { method constructor (line 234) | constructor() { method add (line 238) | async add(user) { method get (line 246) | async get(id) { method getByEmail (line 250) | async getByEmail(email) { method update (line 257) | async update(user) { method delete (line 262) | async delete(id) { method getAll (line 266) | async getAll() { function queueAction (line 306) | async function queueAction(action) { function runMigrations (line 440) | function runMigrations(db, oldVersion) { function add (line 488) | function add(key, value) { function put (line 505) | function put(key, value) { function generateKey (line 539) | function generateKey() { function addRecord (line 552) | function addRecord(record) { function openCursor (line 588) | function openCursor() { FILE: tests/beyond/browser-storage/localstorage-sessionstorage/localstorage-sessionstorage.dom.test.js function storageAvailable (line 304) | function storageAvailable(type) { function storageAvailable (line 326) | function storageAvailable(type) { FILE: tests/beyond/browser-storage/localstorage-sessionstorage/localstorage-sessionstorage.test.js method set (line 232) | set(key, value) { method get (line 241) | get(key, defaultValue = null) { method remove (line 250) | remove(key) { method clear (line 254) | clear() { function storageAvailable (line 341) | function storageAvailable(type) { function setTheme (line 369) | function setTheme(theme) { function loadTheme (line 373) | function loadTheme() { function toggleTheme (line 378) | function toggleTheme() { function saveFormProgress (line 409) | function saveFormProgress(step, data) { function loadFormProgress (line 416) | function loadFormProgress() { function clearFormProgress (line 420) | function clearFormProgress() { function addToRecentlyViewed (line 445) | function addToRecentlyViewed(item, maxItems = 10) { function getRecentlyViewed (line 453) | function getRecentlyViewed() { function storageAvailable (line 645) | function storageAvailable(type) { function safeSetItem (line 666) | function safeSetItem(key, value) { FILE: tests/beyond/data-handling/json-deep-dive/json-deep-dive.test.js method toJSON (line 274) | toJSON() { class User (line 295) | class User { method constructor (line 296) | constructor(name, email, password) { method toJSON (line 303) | toJSON() { method toJSON (line 325) | toJSON(key) { function safeStringify (line 354) | function safeStringify(obj) { function safeStringify (line 378) | function safeStringify(obj) { function replacer (line 438) | function replacer(key, value) { function reviver (line 454) | function reviver(key, value) { function bigIntReplacer (line 489) | function bigIntReplacer(key, value) { function bigIntReviver (line 496) | function bigIntReviver(key, value) { function safeStringify (line 530) | function safeStringify(obj, sensitiveKeys = ['password', 'token', 'secre... method toJSON (line 599) | toJSON() { FILE: tests/beyond/data-handling/requestanimationframe/requestanimationframe.test.js function calculateProgress (line 108) | function calculateProgress(timestamp) { function calculatePosition (line 122) | function calculatePosition(progress) { function calculateMovement (line 137) | function calculateMovement(currentTime) { function applyEasing (line 178) | function applyEasing(linearProgress, easingFn) { function getProgress (line 191) | function getProgress(currentTime) { class Animation (line 204) | class Animation { method constructor (line 205) | constructor({ duration, timing, draw }) { method start (line 214) | start() { method pause (line 220) | pause() { method getProgress (line 224) | getProgress() { function animateWrong (line 291) | function animateWrong(time) { function animateCorrect (line 304) | function animateCorrect(time) { FILE: tests/beyond/events/custom-events/custom-events.dom.test.js function addItem (line 288) | function addItem(item) { FILE: tests/beyond/events/event-delegation/event-delegation.test.js function addTodo (line 262) | function addTodo(text) { method save (line 297) | save() { executedActions.push('save') } method load (line 298) | load() { executedActions.push('load') } method delete (line 299) | delete() { executedActions.push('delete') } FILE: tests/beyond/language-mechanics/hoisting/hoisting.test.js function example (line 6) | function example() { function example (line 19) | function example() { function example (line 30) | function example() { function add (line 121) | function add(a, b) { function isEven (line 130) | function isEven(n) { function isOdd (line 135) | function isOdd(n) { function example (line 148) | function example() { class Animal (line 240) | class Animal { method constructor (line 241) | constructor(name) { function example (line 262) | function example() { function example (line 295) | function example() { function example (line 314) | function example() { function example (line 331) | function example() { function example (line 375) | function example() { function example (line 407) | function example() { function example (line 419) | function example() { function test (line 431) | function test() { function outer (line 451) | function outer() { function example (line 489) | function example(a) { function test (line 503) | function test(a = 1, b = a + 1) { function createCounter (line 526) | function createCounter() { function processUser (line 560) | function processUser(user) { function example (line 592) | function example() { function processUser (line 617) | function processUser(user) { function calculateTotal (line 677) | function calculateTotal(items) { function bad (line 703) | function bad() { function good (line 716) | function good() { FILE: tests/beyond/language-mechanics/strict-mode/strict-mode.test.js function sloppyBehavior (line 13) | function sloppyBehavior() { function strictBehavior (line 34) | function strictBehavior() { function calculateTotalStrict (line 49) | function calculateTotalStrict(price, taxRate) { method value (line 89) | get value() { function getThis (line 200) | function getThis() { method getValue (line 213) | getValue() { function greet (line 225) | function greet() { function getThisType (line 245) | function getThisType() { function createObj (line 264) | function createObj() { function add (line 297) | function add(a, b, c) { function simulateSloppyDuplicate (line 308) | function simulateSloppyDuplicate(firstA, secondA, c) { function testArguments (line 340) | function testArguments(a) { function testCallee (line 369) | function testCallee() { class MyClass (line 438) | class MyClass { method staticMethod (line 439) | static staticMethod() { function processOrder (line 459) | function processOrder(order) { class Counter (line 481) | class Counter { method increment (line 484) | increment() { method getCount (line 488) | getCount() { FILE: tests/beyond/language-mechanics/temporal-dead-zone/temporal-dead-zone.test.js function example (line 39) | function example() { function example (line 52) | function example() { function test (line 152) | function test(a = 1, b = a + 1) { function test (line 186) | function test(a = outer, b = a + 1) { class MyClass (line 287) | class MyClass { method constructor (line 288) | constructor() { class Counter (line 306) | class Counter { method constructor (line 309) | constructor() { method getCount (line 313) | static getCount() { class Example (line 328) | class Example { class Example (line 338) | class Example { function example (line 362) | function example() { function hoistedFn (line 375) | function hoistedFn() { function example (line 419) | function example() { function createAccessor (line 447) | function createAccessor() { function buggyWithVar (line 469) | function buggyWithVar() { FILE: tests/beyond/memory-performance/debouncing-throttling/debouncing-throttling.test.js function debounce (line 19) | function debounce(fn, delay) { function throttle (line 108) | function throttle(fn, interval) { function debounceLeading (line 184) | function debounceLeading(fn, delay) { function debounce (line 245) | function debounce(fn, delay, options = {}) { function debounce (line 359) | function debounce(fn, delay) { function throttle (line 367) | function throttle(fn, interval) { function debounce (line 412) | function debounce(fn, delay) { function debounce (line 459) | function debounce(fn, delay) { function throttle (line 498) | function throttle(fn, interval) { function debounceLeading (line 529) | function debounceLeading(fn, delay) { function throttleWithRAF (line 566) | function throttleWithRAF(fn) { FILE: tests/beyond/memory-performance/garbage-collection/garbage-collection.test.js function createFamily (line 27) | function createFamily() { function createCycle (line 84) | function createCycle() { function processData (line 141) | function processData() { function longRunningTask (line 158) | function longRunningTask() { function createBetterHandler (line 184) | function createBetterHandler() { function createHandler (line 201) | function createHandler() { function expensiveComputation (line 288) | function expensiveComputation(obj) { function getCached (line 292) | function getCached(obj) { function getCached (line 377) | function getCached(key) { function createCycle (line 437) | function createCycle() { FILE: tests/beyond/memory-performance/memoization/memoization.test.js function memoizedDouble (line 12) | function memoizedDouble(n) { function memoize (line 48) | function memoize(fn) { function memoize (line 82) | function memoize(fn) { function memoize (line 118) | function memoize(fn) { function memoize (line 150) | function memoize(fn) { function memoize (line 182) | function memoize(fn) { function fibonacci (line 201) | function fibonacci(n) { function memoize (line 256) | function memoize(fn) { function memoize (line 345) | function memoize(fn) { function memoizeWithWeakMap (line 397) | function memoizeWithWeakMap(fn) { function memoizeHybrid (line 435) | function memoizeHybrid(fn) { function memoize (line 482) | function memoize(fn) { function memoizeCommutative (line 523) | function memoizeCommutative(fn) { function badMemoize (line 552) | function badMemoize(fn) { function goodMemoize (line 575) | function goodMemoize(fn) { function memoizeLRU (line 628) | function memoizeLRU(fn, maxSize = 3) { FILE: tests/beyond/memory-performance/memory-management/memory-management.test.js function calculateTotal (line 110) | function calculateTotal(price, quantity) { function marry (line 149) | function marry(man, woman) { function processData (line 220) | function processData() { function createHandler (line 234) | function createHandler() { function createCounter (line 248) | function createCounter() { class LRUCache (line 267) | class LRUCache { method constructor (line 268) | constructor(maxSize = 100) { method get (line 273) | get(key) { method set (line 283) | set(key, value) { method size (line 293) | get size() { function getData (line 314) | function getData(obj) { class ParticlePool (line 336) | class ParticlePool { method constructor (line 337) | constructor(size) { method acquire (line 343) | acquire() { method release (line 351) | release(particle) { method getActiveCount (line 359) | getActiveCount() { function processData (line 452) | function processData() { FILE: tests/beyond/modern-syntax-operators/computed-property-names/computed-property-names.test.js function getKey (line 82) | function getKey(type) { method toString (line 160) | toString() { function createUserES5 (line 186) | function createUserES5(role, name) { method [Symbol.iterator] (line 253) | [Symbol.iterator]() { method [Symbol.toPrimitive] (line 293) | [Symbol.toPrimitive](hint) { class BankAccount (line 314) | class BankAccount { method constructor (line 315) | constructor(initial) { method deposit (line 319) | deposit(amount) { method getBalance (line 323) | getBalance() { method [action] (line 349) | [action]() { method [`${action}Loudly`] (line 352) | [`${action}Loudly`]() { method [iteratorName] (line 368) | *[iteratorName]() { method [fetchName] (line 382) | async [fetchName]() { method [prop] (line 401) | get [prop]() { method [prop] (line 405) | set [prop](value) { method [Symbol.for('value')] (line 425) | get [Symbol.for('value')]() { method [Symbol.for('value')] (line 429) | set [Symbol.for('value')](v) { function handleInputChange (line 449) | function handleInputChange(fieldName, value) { function updateField (line 467) | function updateField(state, field, value) { function createTranslations (line 485) | function createTranslations(locale, translations) { function normalizeResponse (line 499) | function normalizeResponse(entityType, items) { function badKey (line 535) | function badKey() { FILE: tests/beyond/modern-syntax-operators/tagged-template-literals/tagged-template-literals.test.js function highlight (line 12) | function highlight(strings, ...values) { function myTag (line 36) | function myTag(strings, ...values) { function inspect (line 59) | function inspect(strings, ...values) { function countParts (line 79) | function countParts(strings, ...values) { function interleave (line 92) | function interleave(strings, ...values) { function simple (line 109) | function simple(strings, ...values) { function showBoth (line 135) | function showBoth(strings) { function escapeHTML (line 217) | function escapeHTML(str) { function html (line 226) | function html(strings, ...values) { function highlight (line 244) | function highlight(strings, ...values) { function currency (line 262) | function currency(strings, ...values) { function debug (line 289) | function debug(strings, ...values) { function toArray (line 320) | function toArray(strings, ...values) { function toObject (line 329) | function toObject(strings, ...values) { function template (line 353) | function template(strings, ...keys) { function identity (line 373) | function identity(strings, ...values) { function sql (line 393) | function sql(strings, ...values) { function css (line 422) | function css(strings, ...values) { function broken (line 451) | function broken(strings, ...values) { function fixed (line 464) | function fixed(strings, ...values) { function tag (line 489) | function tag(strings, ...values) { function count (line 504) | function count(strings, ...values) { function compare (line 518) | function compare(strings) { function values (line 538) | function values(strings, ...vals) { function sql (line 543) | function sql(strings, ...vals) { function escapeHTML (line 552) | function escapeHTML(str) { function safeHtml (line 561) | function safeHtml(strings, ...values) { function tag (line 584) | function tag(strings, ...values) { function tag (line 594) | function tag(strings, ...values) { function outer (line 604) | function outer(strings, ...values) { function inner (line 611) | function inner(strings, ...values) { function tag (line 622) | function tag(strings, ...values) { function tag (line 634) | function tag(strings, ...values) { function tag (line 651) | function tag(strings, ...values) { function evaluateLiteral (line 656) | function evaluateLiteral() { FILE: tests/beyond/objects-properties/getters-setters/getters-setters.test.js method fullName (line 10) | get fullName() { method fullName (line 22) | get fullName() { method value (line 35) | get value() { return 42 } method [propName] (line 46) | get [propName]() { method area (line 58) | get area() { return this.width * this.height } method perimeter (line 59) | get perimeter() { return 2 * (this.width + this.height) } method value (line 71) | set value(v) { method balance (line 83) | set balance(value) { method name (line 102) | set name(value) { method action (line 114) | set action(value) { method [propName] (line 129) | set [propName](value) { class Circle (line 141) | class Circle { method constructor (line 142) | constructor(radius) { method area (line 145) | get area() { class Temperature (line 155) | class Temperature { method constructor (line 156) | constructor(celsius) { method fahrenheit (line 159) | get fahrenheit() { class Config (line 169) | class Config { method version (line 171) | static get version() { method debug (line 230) | static set debug(value) { method debug (line 233) | static get debug() { class Animal (line 180) | class Animal { method constructor (line 181) | constructor(name) { method name (line 184) | get name() { method constructor (line 247) | constructor() { method name (line 250) | set name(value) { method name (line 253) | get name() { class Dog (line 189) | class Dog extends Animal { method constructor (line 190) | constructor(name, breed) { method name (line 259) | set name(value) { method name (line 263) | get name() { class User (line 203) | class User { method constructor (line 204) | constructor() { method age (line 207) | set age(value) { method age (line 213) | get age() { method name (line 460) | get name() { return this.#name } method name (line 461) | set name(value) { this.#name = value } class Config (line 228) | class Config { method version (line 171) | static get version() { method debug (line 230) | static set debug(value) { method debug (line 233) | static get debug() { class Animal (line 246) | class Animal { method constructor (line 181) | constructor(name) { method name (line 184) | get name() { method constructor (line 247) | constructor() { method name (line 250) | set name(value) { method name (line 253) | get name() { class Dog (line 258) | class Dog extends Animal { method constructor (line 190) | constructor(name, breed) { method name (line 259) | set name(value) { method name (line 263) | get name() { method get (line 279) | get() { return this._value * 2 } method set (line 290) | set(v) { this._value = v } method get (line 302) | get() { return this._name } method set (line 303) | set(value) { this._name = value.trim() } method get (line 316) | get() { return 42 } method set (line 325) | set(v) { } method prop (line 332) | get prop() { return "value" } method prop (line 333) | set prop(v) { } method readOnly (line 350) | get readOnly() { return "constant" } method value (line 360) | get value() { return 42 } method constant (line 370) | get constant() { return "immutable" } method area (line 385) | get area() { method circumference (line 388) | get circumference() { method value (line 402) | set value(v) { method log (line 415) | set log(message) { method increment (line 432) | set increment(_) { method name (line 449) | get name() { return this._name } method name (line 450) | set name(value) { this._name = value } class User (line 458) | class User { method constructor (line 204) | constructor() { method age (line 207) | set age(value) { method age (line 213) | get age() { method name (line 460) | get name() { return this.#name } method name (line 461) | set name(value) { this.#name = value } function createCounter (line 470) | function createCounter() { method value (line 488) | get value() { return this._value } class Parent (line 496) | class Parent { method greeting (line 497) | get greeting() { return "Hello" } method value (line 513) | get value() { return 10 } class Child (line 500) | class Child extends Parent { method greeting (line 501) | get greeting() { return "Hi" } method value (line 517) | get value() { return super.value * 2 } class Parent (line 512) | class Parent { method greeting (line 497) | get greeting() { return "Hello" } method value (line 513) | get value() { return 10 } class Child (line 516) | class Child extends Parent { method greeting (line 501) | get greeting() { return "Hi" } method value (line 517) | get value() { return super.value * 2 } method value (line 526) | get value() { return "parent" } method get (line 531) | get() { return "child" } method b (line 546) | get b() { return 2 } method b (line 556) | set b(v) { } method b (line 566) | get b() { return 2 } method b (line 581) | get b() { return 2 } method get (line 591) | get() { return "secret" } method value (line 604) | get value() { method expensive (line 621) | get expensive() { method lazy (line 641) | get lazy() { method value (line 667) | get value() { method value (line 670) | set value(v) { method [sym] (line 684) | get [sym]() { return this._secret } method doubled (line 694) | get doubled() { method value (line 706) | get value() { FILE: tests/beyond/objects-properties/object-methods/object-methods.test.js function createClient (line 505) | function createClient(userOptions = {}) { function processData (line 524) | function processData(data) { FILE: tests/beyond/objects-properties/property-descriptors/property-descriptors.test.js method get (line 375) | get() { method set (line 378) | set(value) { method get (line 395) | get() { method get (line 415) | get() { return 42 } method get (line 424) | get() { return 42 } method get (line 433) | get() { return 'hello' } method set (line 434) | set(v) { } method get (line 644) | get() { method get (line 661) | get() { method set (line 664) | set(value) { FILE: tests/beyond/objects-properties/proxy-reflect/proxy-reflect.test.js method get (line 15) | get(target, prop) { method get (line 46) | get(target, prop, receiver) { method get (line 62) | get(target, prop) { function createNegativeArray (line 74) | function createNegativeArray(arr) { method set (line 103) | set(target, prop, value, receiver) { method set (line 120) | set(target, prop, value) { method set (line 156) | set() { method has (line 177) | has(target, prop) { method deleteProperty (line 200) | deleteProperty(target, prop) { function sum (line 226) | function sum(a, b) { method apply (line 232) | apply(target, thisArg, args) { class User (line 245) | class User { method constructor (line 246) | constructor(name) { method construct (line 253) | construct(target, args) { method ownKeys (line 280) | ownKeys(target) { method name (line 321) | get name() { method get (line 327) | get(target, prop, receiver) { function observable (line 346) | function observable(target, onChange) { method get (line 373) | get(target, prop) { method set (line 379) | set(target, prop, value) { method ownKeys (line 385) | ownKeys(target) { function createLogged (line 404) | function createLogged(target, name = 'Object') { method get (line 457) | get(target, prop, receiver) { method set (line 488) | set() { FILE: tests/beyond/objects-properties/weakmap-weakset/weakmap-weakset.test.js class User (line 120) | class User { method constructor (line 121) | constructor(name, password) { method checkPassword (line 129) | checkPassword(input) { method getLoginAttempts (line 141) | getLoginAttempts() { method constructor (line 164) | constructor(name, password) { method checkPassword (line 169) | checkPassword(input) { method getLoginAttempts (line 179) | getLoginAttempts() { method constructor (line 449) | constructor(name) { method isValid (line 454) | static isValid(obj) { class User (line 163) | class User { method constructor (line 121) | constructor(name, password) { method checkPassword (line 129) | checkPassword(input) { method getLoginAttempts (line 141) | getLoginAttempts() { method constructor (line 164) | constructor(name, password) { method checkPassword (line 169) | checkPassword(input) { method getLoginAttempts (line 179) | getLoginAttempts() { method constructor (line 449) | constructor(name) { method isValid (line 454) | static isValid(obj) { function expensiveOperation (line 203) | function expensiveOperation(obj) { function memoizeForObjects (line 232) | function memoizeForObjects(fn) { function processOnce (line 347) | function processOnce(obj) { function deepClone (line 371) | function deepClone(obj, seen = new WeakSet()) { function traverseGraph (line 411) | function traverseGraph(node, visitor, visited = new WeakSet()) { class User (line 448) | class User { method constructor (line 121) | constructor(name, password) { method checkPassword (line 129) | checkPassword(input) { method getLoginAttempts (line 141) | getLoginAttempts() { method constructor (line 164) | constructor(name, password) { method checkPassword (line 169) | checkPassword(input) { method getLoginAttempts (line 179) | getLoginAttempts() { method constructor (line 449) | constructor(name) { method isValid (line 454) | static isValid(obj) { FILE: tests/beyond/observer-apis/intersection-observer/intersection-observer.dom.test.js class MockIntersectionObserver (line 14) | class MockIntersectionObserver { method constructor (line 15) | constructor(callback, options = {}) { method observe (line 22) | observe(element) { method unobserve (line 35) | unobserve(element) { method disconnect (line 42) | disconnect() { method takeRecords (line 46) | takeRecords() { method triggerIntersection (line 50) | triggerIntersection(entries) { method clearInstances (line 55) | static clearInstances() { FILE: tests/beyond/observer-apis/intersection-observer/intersection-observer.test.js method remove (line 105) | remove(cls) { this.removed.push(cls) } method add (line 106) | add(cls) { this.added.push(cls) } function lazyLoadImage (line 111) | function lazyLoadImage(img) { function loadMoreContent (line 136) | async function loadMoreContent() { function handleIntersection (line 164) | function handleIntersection() { function createScrollAnimator (line 179) | function createScrollAnimator(options = {}) { function setupObserver (line 210) | function setupObserver() { function handleIntersection (line 236) | function handleIntersection(entry, observer) { function badPattern (line 325) | function badPattern() { function goodPattern (line 333) | function goodPattern() { function handleEntries (line 349) | function handleEntries(entries) { function hasIntersectionObserver (line 380) | function hasIntersectionObserver(win) { FILE: tests/beyond/observer-apis/mutation-observer/mutation-observer.dom.test.js function loadImage (line 539) | function loadImage(img) { FILE: tests/beyond/observer-apis/performance-observer/performance-observer.test.js function simulateEntry (line 15) | function simulateEntry(entry) { class MockPerformanceObserver (line 33) | class MockPerformanceObserver { method constructor (line 34) | constructor(callback) { method observe (line 39) | observe(options) { method disconnect (line 55) | disconnect() { method takeRecords (line 62) | takeRecords() { class PerformanceMonitor (line 648) | class PerformanceMonitor { method constructor (line 649) | constructor() { method observe (line 654) | observe(type, callback) { method disconnect (line 662) | disconnect() { FILE: tests/beyond/observer-apis/resize-observer/resize-observer.test.js function calculateFontSize (line 142) | function calculateFontSize(width) { function getBreakpointClass (line 194) | function getBreakpointClass(width) { function shouldAutoScroll (line 212) | function shouldAutoScroll(scrollTop, scrollHeight, clientHeight) { function calculateHeight (line 230) | function calculateHeight(width, ratio) { function handleResize (line 257) | function handleResize(target, currentWidth) { function safeResizeHandler (line 291) | function safeResizeHandler(entry) { method observe (line 323) | observe(el) { this.observedTargets.push(el) } function debounced (line 337) | function debounced(callback, delay) { class ResizableComponent (line 366) | class ResizableComponent { method constructor (line 367) | constructor() { method destroy (line 374) | destroy() { function hasResizeObserver (line 402) | function hasResizeObserver(win) { function attachObserver (line 458) | function attachObserver(element) { function handleResize (line 499) | function handleResize(entries) { function mockObserve (line 551) | function mockObserve(callback) { FILE: tests/beyond/type-system/javascript-type-nuances/javascript-type-nuances.test.js function greet (line 56) | function greet() { function sayHi (line 64) | function sayHi(name) { function createUser (line 102) | function createUser(name, email = null) { function getType (line 366) | function getType(value) { class Animal (line 381) | class Animal {} method speak (line 409) | speak() { return 'Some sound' } class Dog (line 382) | class Dog extends Animal {} method speak (line 413) | speak() { return 'Woof!' } class Animal (line 408) | class Animal { method speak (line 409) | speak() { return 'Some sound' } class Dog (line 412) | class Dog extends Animal { method speak (line 413) | speak() { return 'Woof!' } class Duck (line 426) | class Duck { method [Symbol.hasInstance] (line 427) | static [Symbol.hasInstance](instance) { class ValidUser (line 441) | class ValidUser { method [Symbol.hasInstance] (line 442) | static [Symbol.hasInstance](obj) { method [Symbol.iterator] (line 540) | [Symbol.iterator]() { class MyClass (line 560) | class MyClass { method [Symbol.toStringTag] (line 561) | get [Symbol.toStringTag]() { method [Symbol.toPrimitive] (line 574) | [Symbol.toPrimitive](hint) { function factorial (line 702) | function factorial(n) { FILE: tests/functional-programming/currying-composition/currying-composition.test.js function curriedAdd (line 39) | function curriedAdd(a) { function curry (line 78) | function curry(fn) { function sum (line 546) | function sum(a) { function sum (line 563) | function sum(a) { function withRest (line 611) | function withRest(...args) { function withDefault (line 615) | function withDefault(a, b = 2) { FILE: tests/functional-programming/higher-order-functions/higher-order-functions.test.js function doTwice (line 8) | function doTwice(action) { function repeat (line 21) | function repeat(times, action) { function calculate (line 33) | function calculate(numbers, operation) { function unless (line 55) | function unless(condition, action) { function calculate (line 69) | function calculate(radii, formula) { function greaterThan (line 110) | function greaterThan(n) { function multiplier (line 127) | function multiplier(factor) { function noisy (line 145) | function noisy(fn) { function noisy (line 167) | function noisy(fn) { function createGreeter (line 187) | function createGreeter(greeting) { function multiplier (line 202) | function multiplier(factor) { function createValidator (line 215) | function createValidator(min, max) { function createFormatter (line 232) | function createFormatter(prefix, suffix) { function partial (line 248) | function partial(fn, ...presetArgs) { function greet (line 254) | function greet(greeting, punctuation, name) { function createValidator (line 267) | function createValidator(min, max) { function createCounter (line 286) | function createCounter(start = 0) { function createBankAccount (line 309) | function createBankAccount(initialBalance) { method greet (line 369) | greet() { function callLater (line 379) | function callLater(fn) { function callWith5 (line 422) | function callWith5(fn) { function createAdder (line 432) | function createAdder(x) { FILE: tests/functional-programming/pure-functions/pure-functions.test.js function add (line 7) | function add(a, b) { function calculateTotalImpure (line 28) | function calculateTotalImpure(price) { function calculateTotalPure (line 39) | function calculateTotalPure(price, rate) { function randomDouble (line 50) | function randomDouble(x) { function getGreeting (line 66) | function getGreeting(name) { function getGreetingPure (line 77) | function getGreetingPure(name, hour) { function addToTotal (line 94) | function addToTotal(x) { function addItemImpure (line 109) | function addItemImpure(cart, item) { function addItemPure (line 123) | function addItemPure(cart, item) { function incrementImpure (line 139) | function incrementImpure() { function incrementPure (line 149) | function incrementPure(value) { function processUserImpure (line 163) | function processUserImpure(user) { function processUserPure (line 177) | function processUserPure(user, loginTime) { function double (line 196) | function double(x) { function square (line 200) | function square(x) { function hypotenuse (line 204) | function hypotenuse(a, b) { function formatName (line 215) | function formatName(name) { function greet (line 219) | function greet(name, greeting) { function isValidEmail (line 229) | function isValidEmail(email) { function isPositive (line 233) | function isPositive(num) { function updateAge (line 249) | function updateAge(user, newAge) { function addDiscount (line 263) | function addDiscount(product, discount) { function removePassword (line 276) | function removePassword(user) { function addTodo (line 294) | function addTodo(todos, newTodo) { function removeItem (line 308) | function removeItem(arr, index) { function completeTodo (line 324) | function completeTodo(todos, id) { function sortImpure (line 339) | function sortImpure(arr) { function sortPure (line 344) | function sortPure(arr) { function updateCity (line 409) | function updateCity(user, newCity) { function updateCitySpread (line 416) | function updateCitySpread(user, newCity) { function processUserBad (line 438) | function processUserBad(user) { function processUserGood (line 445) | function processUserGood(user) { function calculateBad (line 467) | function calculateBad(value) { function calculateGood (line 472) | function calculateGood(value, multiplier) { function calculateTotal (line 500) | function calculateTotal(items, taxRate) { function getActiveUserNames (line 526) | function getActiveUserNames(users) { function slugify (line 547) | function slugify(title) { function validateUser (line 556) | function validateUser(user) { function add (line 591) | function add(a, b) { function expensiveCalculation (line 605) | function expensiveCalculation(n) { function memoize (line 615) | function memoize(fn) { function fibonacci (line 644) | function fibonacci(n) { function multiply (line 667) | function multiply(a, b) { function greetImpure (line 679) | function greetImpure(name) { function greetPure (line 689) | function greetPure(name, time) { function calculateTax (line 702) | function calculateTax(amount, rate) { function formatPrice (line 714) | function formatPrice(cents, currency = 'USD') { function addToCartBad (line 731) | function addToCartBad(cart, item) { function addToCartGood (line 742) | function addToCartGood(cart, item) { function updateCityClone (line 760) | function updateCityClone(user, newCity) { function updateCitySpread (line 771) | function updateCitySpread(user, newCity) { function add (line 790) | function add(a, b) { function formatName (line 794) | function formatName(name) { function isValidEmail (line 798) | function isValidEmail(email) { FILE: tests/functional-programming/recursion/recursion.test.js function countdown (line 7) | function countdown(n) { function countdown (line 19) | function countdown(n, output = []) { function infiniteRecursion (line 35) | function infiniteRecursion(n) { function sumTo (line 44) | function sumTo(n) { function factorial (line 55) | function factorial(n) { function fibonacci (line 78) | function fibonacci(n, memo = {}) { function sumTo (line 110) | function sumTo(n) { function power (line 128) | function power(x, n) { function powerFast (line 150) | function powerFast(x, n) { function powerNaive (line 187) | function powerNaive(x, n) { function reverse (line 202) | function reverse(str) { function flatten (line 222) | function flatten(arr) { function findAllValues (line 250) | function findAllValues(obj, key) { function findAllCounts (line 283) | function findAllCounts(obj) { function sumList (line 349) | function sumList(node) { function listLength (line 354) | function listLength(node) { function collectReverse (line 366) | function collectReverse(node, results = []) { function countNodes (line 419) | function countNodes(node) { function sumTree (line 424) | function sumTree(node) { function getTotalSize (line 459) | function getTotalSize(node) { function walkDOM (line 551) | function walkDOM(node, callback) { function badRecursion (line 657) | function badRecursion(n) { function withReturn (line 668) | function withReturn(n) { function withoutReturn (line 673) | function withoutReturn(n) { function fibNaive (line 686) | function fibNaive(n) { function fibMemo (line 692) | function fibMemo(n, memo = {}) { function factorialNonTail (line 710) | function factorialNonTail(n) { function factorialTail (line 716) | function factorialTail(n, acc = 1) { function fibonacci (line 731) | function fibonacci(n) { function sumTree (line 743) | function sumTree(node) { function isEven (line 759) | function isEven(n) { function isOdd (line 764) | function isOdd(n) { function factorialRecursive (line 779) | function factorialRecursive(n) { function factorialIterative (line 785) | function factorialIterative(n) { function sumTreeRecursive (line 816) | function sumTreeRecursive(node) { function sumTreeIterative (line 822) | function sumTreeIterative(root) { function arrayLength (line 901) | function arrayLength(arr) { FILE: tests/functions-execution/async-await/async-await.test.js function getValue (line 12) | async function getValue() { function getValue (line 23) | async function getValue() { function failingFunction (line 34) | async function failingFunction() { function getPromise (line 43) | async function getPromise() { method fetchData (line 66) | async fetchData() { class DataService (line 76) | class DataService { method getData (line 77) | async getData() { function example (line 95) | async function example() { function example (line 107) | async function example() { function example (line 117) | async function example() { method then (line 128) | then(resolve) { function example (line 133) | async function example() { function slowOperation (line 144) | async function slowOperation() { function example (line 181) | async function example() { function asyncFn (line 213) | async function asyncFn() { function multipleAwaits (line 234) | async function multipleAwaits() { function fetchData (line 262) | async function fetchData() { function mightFail (line 275) | async function mightFail(shouldFail) { function withFinally (line 290) | async function withFinally(shouldFail) { function swallowsError (line 313) | async function swallowsError() { function rethrowsError (line 328) | async function rethrowsError() { function inner (line 341) | async function inner() { function outer (line 345) | async function outer() { function sequential (line 377) | async function sequential() { function parallel (line 405) | async function parallel() { function withoutAwait (line 469) | async function withoutAwait() { function withAwait (line 474) | async function withAwait() { function wrongWay (line 493) | async function wrongWay() { function rightWay (line 518) | async function rightWay() { function parallelWay (line 535) | async function parallelWay() { function riskyOperation (line 555) | async function riskyOperation() { function flakyOperation (line 581) | async function flakyOperation() { function withRetry (line 589) | async function withRetry(operation, retries = 3, backoff = 100) { function withTimeout (line 620) | async function withTimeout(promise, ms) { function fetchWithCancellation (line 643) | async function fetchWithCancellation(signal) { function callbackApi (line 665) | function callbackApi(value, callback) { function asyncApi (line 676) | function asyncApi(value) { function test (line 707) | async function test() { function delay (line 730) | function delay(ms) { function versionA (line 735) | async function versionA() { function versionB (line 743) | async function versionB() { function processItems (line 769) | async function processItems() { function unnecessaryAwait (line 800) | async function unnecessaryAwait() { function noAwait (line 805) | async function noAwait() { function test (line 823) | async function test() { function getData (line 854) | async function getData() { function failingFn (line 863) | async function failingFn() { function step1 (line 872) | async function step1() { function step2 (line 876) | function step2(prev) { function step3 (line 880) | async function step3(prev) { function fast (line 894) | async function fast() { function slow (line 899) | async function slow() { function returnsNothing (line 920) | async function returnsNothing() { function returnsNull (line 930) | async function returnsNull() { function outer (line 939) | async function outer() { function conditionalAwait (line 958) | async function conditionalAwait(condition) { function withTryCatchFinally (line 973) | async function withTryCatchFinally() { function loopWithAwait (line 1003) | async function loopWithAwait() { function subtleBug (line 1017) | async function subtleBug() { function fixedVersion (line 1030) | async function fixedVersion() { FILE: tests/functions-execution/event-loop/event-loop.test.js function multiply (line 23) | function multiply(a, b) { function square (line 27) | function square(n) { function printSquare (line 31) | function printSquare(n) { function run (line 171) | function run() { function handleInput (line 210) | function handleInput(value) { function handleInput (line 241) | function handleInput(value) { function slowFetch (line 278) | async function slowFetch() { function slowFetch (line 319) | async function slowFetch() { function poll (line 327) | async function poll() { function preciseInterval (line 601) | function preciseInterval(callback, delay) { function recursiveTimeout (line 625) | function recursiveTimeout() { function foo (line 653) | async function foo() { function asyncFn (line 676) | async function asyncFn() { function multipleAwaits (line 697) | async function multipleAwaits() { function getValue (line 718) | async function getValue() { function mightFail (line 728) | async function mightFail(shouldFail) { function foo (line 808) | async function foo() { function scheduleMicrotask (line 872) | function scheduleMicrotask() { method greet (line 949) | greet() { method greet (line 970) | greet() { method greet (line 990) | greet() { function processInChunks (line 1053) | function processInChunks(items, process, chunkSize = 3) { function poll (line 1087) | async function poll() { function immediate (line 1283) | async function immediate() { FILE: tests/functions-execution/generators-iterators/generators-iterators.test.js function createIterator (line 6) | function createIterator(arr) { method [Symbol.iterator] (line 224) | [Symbol.iterator]() { method [Symbol.iterator] (line 244) | *[Symbol.iterator]() { class Range (line 258) | class Range { method constructor (line 259) | constructor(start, end, step = 1) { method [Symbol.iterator] (line 265) | *[Symbol.iterator]() { FILE: tests/functions-execution/iife-modules/iife-modules.test.js function greet (line 13) | function greet() { method increment (line 169) | increment() { method decrement (line 172) | decrement() { method getCount (line 175) | getCount() { method increment (line 197) | increment() { method getCount (line 200) | getCount() { function log (line 218) | function log(message) { method increment (line 223) | increment() { method getCount (line 227) | getCount() { function createCounter (line 242) | function createCounter() { method login (line 385) | login() { method logout (line 388) | logout() { method formatDate (line 422) | formatDate(date) { method capitalize (line 425) | capitalize(str) { method create (line 464) | create(name) { method find (line 467) | find(id) { method render (line 473) | render(users) { method isEmail (line 479) | isEmail(str) { method increment (line 511) | increment() { method decrement (line 514) | decrement() { method getCount (line 517) | getCount() { method log (line 543) | log(message) { method getLogs (line 547) | getLogs() { method getLogCount (line 550) | getLogCount() { method increment (line 576) | increment() { method getCount (line 580) | getCount() { method log (line 589) | log(message) { method getLogs (line 592) | getLogs() { function add (line 616) | function add(a, b) { function subtract (line 620) | function subtract(a, b) { function square (line 633) | function square(x) { function cube (line 639) | function cube(x) { class Calculator (line 651) | class Calculator { method add (line 652) | add(a, b) { method subtract (line 655) | subtract(a, b) { method multiply (line 658) | multiply(a, b) { method divide (line 661) | divide(a, b) { function greet (line 685) | function greet(name) { class User (line 695) | class User { method constructor (line 696) | constructor(name) { method greet (line 700) | greet() { method login (line 726) | login(email) { method getCurrentUser (line 730) | getCurrentUser() { method logout (line 733) | logout() { method formatDate (line 756) | formatDate(date) { method formatCurrency (line 759) | formatCurrency(amount) { method isEmail (line 766) | isEmail(str) { method isPhone (line 769) | isPhone(str) { function increment (line 798) | function increment() { function getCount (line 802) | function getCount() { method increment (line 872) | increment() { method getCount (line 875) | getCount() { method helperFunction (line 906) | helperFunction() { method useShared (line 914) | useShared() { method useShared (line 922) | useShared() { method increment (line 965) | increment() { method getCount (line 968) | getCount() { function privateFunction (line 1187) | function privateFunction() { function publicFunction (line 1191) | function publicFunction() { function setPrivate (line 1195) | function setPrivate(val) { function createInstance (line 1223) | function createInstance() { method getInstance (line 1233) | getInstance() { FILE: tests/fundamentals/call-stack/call-stack.test.js function createGreeting (line 6) | function createGreeting(name) { function greet (line 10) | function greet(name) { function greet (line 19) | function greet(name, age) { function calculate (line 28) | function calculate() { function multiply (line 41) | function multiply(x, y) { function square (line 45) | function square(n) { function printSquare (line 49) | function printSquare(n) { function a (line 58) | function a() { return b() } function b (line 59) | function b() { return c() } function c (line 60) | function c() { return d() } function d (line 61) | function d() { return 'done' } function a (line 71) | function a() { function b (line 78) | function b() { function c (line 85) | function c() { function d (line 92) | function d() { function outer (line 106) | function outer() { method greet (line 122) | greet() { function countdown (line 133) | function countdown(n) { function countdown (line 143) | function countdown(n) { function loop (line 157) | function loop() { function countUp (line 165) | function countUp(n, limit = 100) { function a (line 176) | function a() { return b() } function b (line 177) | function b() { return a() } class Person (line 183) | class Person { method name (line 184) | set name(value) { class PersonFixed (line 194) | class PersonFixed { method name (line 195) | set name(value) { method name (line 198) | get name() { function factorial (line 211) | function factorial(n) { function countdown (line 222) | function countdown(n) { function a (line 235) | function a() { return b() } function b (line 236) | function b() { return c() } function c (line 237) | function c() { function a (line 245) | function a() { return b() } function b (line 246) | function b() { return c() } function c (line 247) | function c() { FILE: tests/fundamentals/equality-operators/equality-operators.test.js function greet (line 112) | function greet(name) { function isReallyNaN (line 330) | function isReallyNaN(value) { function isNegativeZero (line 338) | function isNegativeZero(value) { function getType (line 424) | function getType(value) { function isRealObject (line 435) | function isRealObject(value) { class Person (line 483) | class Person {} function getType (line 513) | function getType(value) { function processObject (line 564) | function processObject(obj) { function isNullish (line 612) | function isNullish(value) { FILE: tests/fundamentals/javascript-engines/javascript-engines.test.js function greet (line 7) | function greet(name) { function createPoint (line 44) | function createPoint(x, y) { function createPointA (line 72) | function createPointA(x, y) { function createPointB (line 77) | function createPointB(x, y) { function add (line 106) | function add(a, b) { function process (line 117) | function process(x) { function process (line 133) | function process(x) { function getX (line 235) | function getX(obj) { function getX (line 246) | function getX(obj) { function getX (line 270) | function getX(obj) { class Point (line 291) | class Point { method constructor (line 292) | constructor(x, y) { class Animal (line 309) | class Animal { method speak (line 310) | speak() { class Dog (line 315) | class Dog extends Animal { method speak (line 316) | speak() { function createUserBad (line 366) | function createUserBad(name, age) { function createUserGood (line 385) | function createUserGood(name, age) { function multiply (line 402) | function multiply(a, b) { function square (line 414) | function square(x) { function sumOfSquares (line 418) | function sumOfSquares(a, b) { function createAdder (line 427) | function createAdder(x) { function hotFunction (line 507) | function hotFunction(n) { function add (line 521) | function add(a, b) { function maybeDouble (line 539) | function maybeDouble(n, shouldDouble) { function createA (line 556) | function createA() { function createB (line 560) | function createB() { function User (line 578) | function User(name, email, age) { FILE: tests/fundamentals/primitive-types/primitive-types.test.js function greet (line 193) | function greet(name) { function doNothing (line 200) | function doNothing() { function findUser (line 220) | function findUser(id) { function isEmptyOrWhitespace (line 534) | function isEmptyOrWhitespace(str) { function findUser (line 554) | function findUser(id) { FILE: tests/fundamentals/primitives-objects/primitives-objects.test.js function rename (line 73) | function rename(person) { function replace (line 84) | function replace(person) { function double (line 95) | function double(num) { function double (line 168) | function double(num) { function rename (line 183) | function rename(person) { function replace (line 194) | function replace(person) { function deepFreeze (line 314) | function deepFreeze(obj, seen = new WeakSet()) { function deepFreeze (line 342) | function deepFreeze(obj, seen = new WeakSet()) { function processUsers (line 586) | function processUsers(users) { function deepEqual (line 615) | function deepEqual(a, b) { function addItem (line 705) | function addItem(item, list = defaultList) { function addItem (line 720) | function addItem(item, list = []) { function processData (line 775) | function processData(data) { FILE: tests/fundamentals/scope-and-closures/scope-and-closures.test.js function countApples (line 7) | function countApples() { function countOranges (line 13) | function countOranges() { function processData (line 26) | function processData() { function createBankAccount (line 38) | function createBankAccount() { function greet (line 61) | function greet() { function calculateTotal (line 73) | function calculateTotal() { function example (line 86) | function example() { function demo (line 118) | function demo() { function demo (line 130) | function demo() { function outerFunction (line 213) | function outerFunction() { function outer (line 234) | function outer() { function greet (line 254) | function greet() { function createGreeter (line 276) | function createGreeter(greeting) { function createCounter (line 292) | function createCounter() { function createMultiplier (line 322) | function createMultiplier(multiplier) { function createApiClient (line 338) | function createApiClient(baseUrl) { function setupClickCounter (line 356) | function setupClickCounter() { function createMemoizedFunction (line 375) | function createMemoizedFunction(fn) { function factorial (line 389) | function factorial(n) { function createClosure (line 478) | function createClosure() { function createHandler (line 492) | function createHandler() { function createWallet (line 518) | function createWallet(initial) { function createTaxCalculator (line 546) | function createTaxCalculator(rate) { function setupLogger (line 560) | function setupLogger(prefix) { function memoize (line 574) | function memoize(fn) { function example (line 603) | function example() { function createCounter (line 619) | function createCounter() { function example (line 694) | function example() { function test (line 719) | function test(a = 1, b = a + 1) { function example (line 731) | function example() { function hoistedFn (line 745) | function hoistedFn() { FILE: tests/fundamentals/type-coercion/type-coercion.test.js method valueOf (line 242) | valueOf() { method toString (line 245) | toString() { method valueOf (line 259) | valueOf() { method toString (line 262) | toString() { method [Symbol.toPrimitive] (line 275) | [Symbol.toPrimitive](hint) { function checkNullish (line 469) | function checkNullish(value) { FILE: tests/object-oriented/factories-classes/factories-classes.test.js function createPlayer (line 10) | function createPlayer(name) { class Enemy (line 28) | class Enemy { method constructor (line 29) | constructor(name) { method attack (line 34) | attack() { method constructor (line 58) | constructor(name) { method attack (line 63) | attack() { function createPlayer (line 47) | function createPlayer(name) { class Enemy (line 57) | class Enemy { method constructor (line 29) | constructor(name) { method attack (line 34) | attack() { method constructor (line 58) | constructor(name) { method attack (line 63) | attack() { method attack (line 91) | attack() { method attack (line 99) | attack() { function createPlayer (line 119) | function createPlayer(name) { function createCounter (line 140) | function createCounter() { function createEnemy (line 164) | function createEnemy(name, health, attackPower) { function createCharacter (line 195) | function createCharacter(config = {}) { function createBankAccount (line 224) | function createBankAccount(initialBalance = 0) { function createAccount (line 259) | function createAccount() { function createCounter (line 292) | function createCounter() { function createWeapon (line 322) | function createWeapon(type) { function Player (line 356) | function Player(name) { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { function Player (line 371) | function Player(name) { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { function Enemy (line 375) | function Enemy(name) { method constructor (line 29) | constructor(name) { method attack (line 34) | attack() { method constructor (line 58) | constructor(name) { method attack (line 63) | attack() { function myNew (line 391) | function myNew(Constructor, ...args) { function Player (line 397) | function Player(name) { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { function ReturnsObject (line 415) | function ReturnsObject() { function ReturnsPrimitive (line 420) | function ReturnsPrimitive() { function Player (line 435) | function Player(name) { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { function Character (line 453) | function Character(name, health) { method constructor (line 533) | constructor(name) { method constructor (line 736) | constructor(name, health) { method attack (line 741) | attack() { method takeDamage (line 745) | takeDamage(amount) { method constructor (line 814) | constructor(name) { method attack (line 818) | attack() { class Player (line 489) | class Player { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { class Player (line 510) | class Player { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { class Character (line 529) | class Character { method constructor (line 533) | constructor(name) { method constructor (line 736) | constructor(name, health) { method attack (line 741) | attack() { method takeDamage (line 745) | takeDamage(amount) { method constructor (line 814) | constructor(name) { method attack (line 818) | attack() { class MathUtils (line 548) | class MathUtils { method square (line 551) | static square(x) { method cube (line 555) | static cube(x) { class User (line 571) | class User { method constructor (line 572) | constructor(id, name) { method createGuest (line 577) | static createGuest() { method fromData (line 581) | static fromData(data) { class Circle (line 598) | class Circle { method constructor (line 599) | constructor(radius) { method radius (line 603) | get radius() { method radius (line 607) | set radius(value) { method diameter (line 612) | get diameter() { method diameter (line 616) | set diameter(value) { method area (line 620) | get area() { class BankAccount (line 642) | class BankAccount { method constructor (line 645) | constructor(initialBalance) { method deposit (line 649) | deposit(amount) { method getBalance (line 654) | getBalance() { method constructor (line 1158) | constructor(balance) { method getBalance (line 1162) | getBalance() { class Counter (line 670) | class Counter { method #log (line 673) | #log(action) { method increment (line 677) | increment() { method getCount (line 682) | getCount() { method increment (line 1394) | increment() { class Player (line 699) | class Player { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { class Player (line 709) | class Player { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { class Character (line 735) | class Character { method constructor (line 533) | constructor(name) { method constructor (line 736) | constructor(name, health) { method attack (line 741) | attack() { method takeDamage (line 745) | takeDamage(amount) { method constructor (line 814) | constructor(name) { method attack (line 818) | attack() { class Warrior (line 751) | class Warrior extends Character { method constructor (line 752) | constructor(name) { method shieldBash (line 757) | shieldBash() { method attack (line 824) | attack() { class Animal (line 772) | class Animal {} method speak (line 786) | speak() { class Dog (line 773) | class Dog extends Animal {} method speak (line 792) | speak() { class Animal (line 785) | class Animal { method speak (line 786) | speak() { class Dog (line 791) | class Dog extends Animal { method speak (line 792) | speak() { class Cat (line 797) | class Cat extends Animal { method speak (line 798) | speak() { class Character (line 813) | class Character { method constructor (line 533) | constructor(name) { method constructor (line 736) | constructor(name, health) { method attack (line 741) | attack() { method takeDamage (line 745) | takeDamage(amount) { method constructor (line 814) | constructor(name) { method attack (line 818) | attack() { class Warrior (line 823) | class Warrior extends Character { method constructor (line 752) | constructor(name) { method shieldBash (line 757) | shieldBash() { method attack (line 824) | attack() { class Parent (line 837) | class Parent { method constructor (line 838) | constructor(name) { class Child (line 843) | class Child extends Parent { method constructor (line 844) | constructor(name, age) { method walk (line 860) | walk() { method swim (line 867) | swim() { method fly (line 874) | fly() { function createDuck (line 880) | function createDuck(name) { function createPenguin (line 891) | function createPenguin(name) { method speak (line 916) | speak(message) { method walk (line 922) | walk() { function createDuck (line 928) | function createDuck(name) { function createFish (line 938) | function createFish(name) { method takeDamage (line 958) | takeDamage(amount) { method heal (line 962) | heal(amount) { method useMana (line 971) | useMana(amount) { function createWarrior (line 981) | function createWarrior(name) { function createMage (line 990) | function createMage(name) { class ClassPlayer (line 1021) | class ClassPlayer { method constructor (line 1022) | constructor(name) { method attack (line 1043) | attack() { function createPlayer (line 1027) | function createPlayer(name) { class ClassPlayer (line 1042) | class ClassPlayer { method constructor (line 1022) | constructor(name) { method attack (line 1043) | attack() { function createPlayer (line 1055) | function createPlayer() { class ClassWallet (line 1073) | class ClassWallet { method deposit (line 1076) | deposit(amount) { method getBalance (line 1079) | getBalance() { function createWallet (line 1085) | function createWallet() { function Player (line 1120) | function Player(name) { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { function Player (line 1131) | function Player(name) { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { class Player (line 1144) | class Player { method constructor (line 490) | constructor(name) { method attack (line 496) | attack() { method constructor (line 511) | constructor(name) { method attack (line 515) | attack() { method constructor (line 700) | constructor(name) { method constructor (line 710) | constructor(name) { method attack (line 714) | attack() { method constructor (line 1145) | constructor(name) { class BankAccount (line 1157) | class BankAccount { method constructor (line 645) | constructor(initialBalance) { method deposit (line 649) | deposit(amount) { method getBalance (line 654) | getBalance() { method constructor (line 1158) | constructor(balance) { method getBalance (line 1162) | getBalance() { class SecureBankAccount (line 1178) | class SecureBankAccount { method constructor (line 1181) | constructor(balance) { method getBalance (line 1185) | getBalance() { function createCounter (line 1202) | function createCounter() { function createSafeCounter (line 1231) | function createSafeCounter() { method constructor (line 1266) | constructor(name) { method constructor (line 1277) | constructor(name) { method getClassName (line 1281) | static getClassName() { class ExtendedArray (line 1293) | class ExtendedArray extends Array { method first (line 1294) | get first() { method last (line 1298) | get last() { method sum (line 1302) | sum() { class Config (line 1324) | class Config { function createUser (line 1340) | function createUser(name, age) { class Button (line 1366) | class Button { class Counter (line 1390) | class Counter { method #log (line 673) | #log(action) { method increment (line 677) | increment() { method getCount (line 682) | getCount() { method increment (line 1394) | increment() { class Builder (line 1413) | class Builder { method constructor (line 1414) | constructor() { method setName (line 1418) | setName(name) { method setAge (line 1423) | setAge(age) { method build (line 1428) | build() { function createBuilder (line 1439) | function createBuilder() { FILE: tests/object-oriented/inheritance-polymorphism/inheritance-polymorphism.test.js class Character (line 8) | class Character { method constructor (line 9) | constructor(name, health = 100) { method introduce (line 14) | introduce() { method attack (line 18) | attack() { method takeDamage (line 22) | takeDamage(amount) { method isAlive (line 27) | get isAlive() { method createRandom (line 31) | static createRandom() { method constructor (line 441) | constructor(name) { method constructor (line 604) | constructor(id, name) { class Warrior (line 37) | class Warrior extends Character { method constructor (line 38) | constructor(name) { method attack (line 44) | attack() { method battleCry (line 48) | battleCry() { method constructor (line 611) | constructor(id, name) { class Mage (line 54) | class Mage extends Character { method constructor (line 55) | constructor(name) { method attack (line 60) | attack() { method castSpell (line 64) | castSpell(spell) { class Archer (line 70) | class Archer extends Character { method constructor (line 71) | constructor(name) { method attack (line 76) | attack() { class ExtendedWarrior (line 151) | class ExtendedWarrior extends Character { method constructor (line 152) | constructor(name) { method attack (line 157) | attack() { method describe (line 162) | describe() { class BrokenWarrior (line 176) | class BrokenWarrior extends Character { method constructor (line 177) | constructor(name) { class VerboseWarrior (line 207) | class VerboseWarrior extends Character { method attack (line 208) | attack() { class SilentWarrior (line 218) | class SilentWarrior extends Character { method attack (line 219) | attack() { function executeBattle (line 254) | function executeBattle(characters) { class Healer (line 279) | class Healer extends Character { method attack (line 280) | attack() { function getAttacks (line 286) | function getAttacks(chars) { method fly (line 336) | fly() { return `${state.name} soars through the sky!` } method castSpell (line 340) | castSpell(spell) { return `${state.name} casts ${spell}!` } method attack (line 344) | attack() { return `${state.name} attacks!` } function createFlyingMage (line 348) | function createFlyingMage(name) { method swim (line 369) | swim() { return `${state.name} swims!` } method fly (line 373) | fly() { return `${state.name} flies!` } function createDuck (line 377) | function createDuck(name) { function createFish (line 383) | function createFish(name) { method swim (line 405) | swim() { return `${this.name} swims!` } method fly (line 409) | fly() { return `${this.name} flies!` } class Animal (line 412) | class Animal { method constructor (line 413) | constructor(name) { class Duck (line 418) | class Duck extends Animal {} method log (line 429) | log(message) { method getTimestamp (line 435) | getTimestamp() { class Character (line 440) | class Character { method constructor (line 9) | constructor(name, health = 100) { method introduce (line 14) | introduce() { method attack (line 18) | attack() { method takeDamage (line 22) | takeDamage(amount) { method isAlive (line 27) | get isAlive() { method createRandom (line 31) | static createRandom() { method constructor (line 441) | constructor(name) { method constructor (line 604) | constructor(id, name) { class LoggedCharacter (line 447) | class LoggedCharacter extends withTimestamp(withLogging(Character)) { method doAction (line 448) | doAction() { method greet (line 462) | greet() { return 'Hello from A' } method greet (line 466) | greet() { return 'Hello from B' } class Base (line 469) | class Base {} class Parent (line 485) | class Parent { method method (line 486) | method() { return 'parent' } class Child (line 489) | class Child extends Parent { method method (line 490) | method() { return 'child' } class BetterChild (line 497) | class BetterChild extends Parent { method method (line 498) | method() { return `${super.method()} + child` } class BadStack (line 508) | class BadStack extends Array { method peek (line 509) | peek() { return this[this.length - 1] } class GoodStack (line 519) | class GoodStack { method push (line 522) | push(item) { this.#items.push(item) } method pop (line 523) | pop() { return this.#items.pop() } method peek (line 524) | peek() { return this.#items[this.#items.length - 1] } class Shape (line 541) | class Shape { method area (line 542) | area() { return 0 } class Rectangle (line 545) | class Rectangle extends Shape { method constructor (line 546) | constructor(width, height) { method area (line 551) | area() { return this.width * this.height } class Circle (line 554) | class Circle extends Shape { method constructor (line 555) | constructor(radius) { method area (line 559) | area() { return Math.PI * this.radius ** 2 } class Entity (line 597) | class Entity { method constructor (line 598) | constructor(id) { class Character (line 603) | class Character extends Entity { method constructor (line 9) | constructor(name, health = 100) { method introduce (line 14) | introduce() { method attack (line 18) | attack() { method takeDamage (line 22) | takeDamage(amount) { method isAlive (line 27) | get isAlive() { method createRandom (line 31) | static createRandom() { method constructor (line 441) | constructor(name) { method constructor (line 604) | constructor(id, name) { class Warrior (line 610) | class Warrior extends Character { method constructor (line 38) | constructor(name) { method attack (line 44) | attack() { method battleCry (line 48) | battleCry() { method constructor (line 611) | constructor(id, name) { class A (line 631) | class A { method constructor (line 632) | constructor() { class B (line 637) | class B extends A { method constructor (line 638) | constructor() { class C (line 644) | class C extends B { method constructor (line 645) | constructor() { FILE: tests/object-oriented/object-creation-prototypes/object-creation-prototypes.test.js method castSpell (line 37) | castSpell() { function Player (line 94) | function Player(name) { method attack (line 117) | attack() { method speak (line 130) | speak() { function Player (line 188) | function Player(name) { function Counter (line 202) | function Counter() { function ReturnsNothing (line 216) | function ReturnsNothing(name) { function ReturnsPrimitive (line 221) | function ReturnsPrimitive(name) { function ReturnsObject (line 226) | function ReturnsObject(name) { function myNew (line 243) | function myNew(Constructor, ...args) { function Player (line 249) | function Player(name, health) { function Animal (line 350) | function Animal(name) { function Dog (line 353) | function Dog(name) { function BadPlayer (line 416) | function BadPlayer(name) { function GoodPlayer (line 428) | function GoodPlayer(name) { FILE: tests/object-oriented/this-call-apply-bind/this-call-apply-bind.test.js method introduce (line 10) | introduce() { method introduce (line 17) | introduce() { method introduce (line 30) | introduce() { function showThis (line 42) | function showThis() { function greet (line 60) | function greet() { class Rectangle (line 76) | class Rectangle { method constructor (line 77) | constructor(width, height) { method getArea (line 82) | getArea() { function introduce (line 94) | function introduce() { function greet (line 108) | function greet(greeting, name) { function Person (line 126) | function Person(name) { method constructor (line 136) | constructor(name) { class Person (line 135) | class Person { method constructor (line 136) | constructor(name) { class Counter (line 146) | class Counter { method constructor (line 147) | constructor() { method increment (line 150) | increment() { method constructor (line 454) | constructor() { method incrementWithArrow (line 458) | incrementWithArrow() { class Calculator (line 167) | class Calculator { method constructor (line 168) | constructor(value) { method add (line 171) | add(n) { method multiply (line 175) | multiply(n) { function ReturnsNothing (line 188) | function ReturnsNothing(name) { function ReturnsObject (line 192) | function ReturnsObject(name) { function ReturnsPrimitive (line 197) | function ReturnsPrimitive(name) { class Animal (line 213) | class Animal { method speak (line 214) | speak() { method speak (line 611) | speak() { class Dog (line 219) | class Dog extends Animal { method speak (line 220) | speak() { method constructor (line 617) | constructor(name) { method speak (line 621) | speak() { function Person (line 232) | function Person(name) { method constructor (line 136) | constructor(name) { function greet (line 246) | function greet() { function greet (line 255) | function greet() { function greet (line 264) | function greet() { method greet (line 276) | greet() { function getThis (line 288) | function getThis() { method getName (line 302) | getName() { method getName (line 315) | getName() { method add (line 328) | add(n) { method subtract (line 332) | subtract(n) { method getResult (line 336) | getResult() { method getName (line 348) | getName() { method getName (line 361) | getName() { function executeCallback (line 366) | function executeCallback(callback) { method method (line 377) | method() { function getThis (line 389) | function getThis() { method method (line 408) | method() { method method (line 425) | method() { method getArrow (line 437) | getArrow() { class Counter (line 453) | class Counter { method constructor (line 147) | constructor() { method increment (line 150) | increment() { method constructor (line 454) | constructor() { method incrementWithArrow (line 458) | incrementWithArrow() { class Button (line 472) | class Button { method constructor (line 473) | constructor(label) { method constructor (line 815) | constructor(label) { method handleClick (line 820) | handleClick() { function createArrow (line 504) | function createArrow() { function inner (line 544) | function inner() { function greet (line 567) | function greet() { function introduce (line 575) | function introduce(greeting, punctuation) { class Animal (line 610) | class Animal { method speak (line 214) | speak() { method speak (line 611) | speak() { class Dog (line 616) | class Dog extends Animal { method speak (line 220) | speak() { method constructor (line 617) | constructor(name) { method speak (line 621) | speak() { function getThisName (line 632) | function getThisName() { function getThis (line 640) | function getThis() { function greet (line 653) | function greet() { function introduce (line 661) | function introduce(greeting, punctuation) { function sum (line 684) | function sum() { function returnArgs (line 693) | function returnArgs() { function noArgs (line 701) | function noArgs() { function greet (line 737) | function greet() { function setFlag (line 750) | function setFlag() { function getName (line 762) | function getName() { function getName (line 777) | function getName() { function multiply (line 791) | function multiply(a, b) { function greet (line 803) | function greet(greeting, punctuation, name) { class Button (line 814) | class Button { method constructor (line 473) | constructor(label) { method constructor (line 815) | constructor(label) { method handleClick (line 820) | handleClick() { class Delayed (line 832) | class Delayed { method constructor (line 833) | constructor(message) { method getMessage (line 837) | getMessage() { function fn (line 851) | function fn(a, b, c) { function Person (line 866) | function Person(name) { method constructor (line 136) | constructor(name) { method log (line 895) | log(message) { function log (line 919) | function log(level, timestamp, message) { function multiply (line 931) | function multiply(a, b) { function createUrl (line 945) | function createUrl(protocol, domain, path) { class Timer (line 959) | class Timer { method constructor (line 960) | constructor() { method tick (line 965) | tick() { class Timer (line 979) | class Timer { method constructor (line 960) | constructor() { method tick (line 965) | tick() { method addAll (line 1002) | addAll(numbers) { method addAll (line 1017) | addAll(numbers) { method addAll (line 1031) | addAll(numbers) { method getOuterName (line 1049) | getOuterName() { method createInner (line 1062) | createInner() { function Foo (line 1080) | function Foo(value) { method getName (line 1093) | getName() { function getName (line 1105) | function getName() { method greet (line 1121) | greet() { class Counter (line 1131) | class Counter { method constructor (line 147) | constructor() { method increment (line 150) | increment() { method constructor (line 454) | constructor() { method incrementWithArrow (line 458) | incrementWithArrow() { function greet (line 1148) | function greet() { method getName (line 1164) | getName() { method add (line 1176) | add(numbers) { method add (line 1195) | add(numbers) { function multiply (line 1207) | function multiply(a, b) { function simulateNew (line 1221) | function simulateNew(Constructor, ...args) { function Person (line 1237) | function Person(name) { method constructor (line 136) | constructor(name) { function simulateNew (line 1255) | function simulateNew(Constructor, ...args) { function ReturnsObject (line 1264) | function ReturnsObject() { function simulateNew (line 1275) | function simulateNew(Constructor, ...args) { function WeirdConstructor (line 1284) | function WeirdConstructor(value) { function introduce (line 1299) | function introduce(greeting, role, company) { class Countdown (line 1313) | class Countdown { method constructor (line 1314) | constructor(start) { method tick (line 1318) | tick() { method constructor (line 1337) | constructor(start) { method tick (line 1341) | tick() { class Countdown (line 1336) | class Countdown { method constructor (line 1314) | constructor(start) { method tick (line 1318) | tick() { method constructor (line 1337) | constructor(start) { method tick (line 1341) | tick() { FILE: tests/web-platform/dom/dom.test.js function getAncestors (line 338) | function getAncestors(element) { FILE: tests/web-platform/http-fetch/http-fetch.test.js function fetchJSON (line 510) | async function fetchJSON(url, options = {}) { function safeFetch (line 559) | async function safeFetch(url) { function fetchWithTimeout (line 692) | async function fetchWithTimeout(url, timeout = 5000) { function fetchWithState (line 792) | async function fetchWithState(url) { function fetchWithRetry (line 1024) | async function fetchWithRetry(url, options = {}, retries = 3) { function searchWithCancel (line 1053) | async function searchWithCancel(query) {