GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Reading-Notes/301-10.md at main · RobbMAlexander/Reading-Notes

Expand file tree

/

301-10.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
28 lines (17 loc) · 1.34 KB
/

301-10.md

Copy path

File metadata and controls

28 lines (17 loc) · 1.34 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions
layout page
title 301.10 Reading Notes
permalink /301-R10/

JavaScript Call Stack

  • Calls: a "call" is the invocation of a JavaScript object (such as a function); Calls are "stacked" in order, executing one at a time in a "Last in, first out" ("LIFO") schedule. For example, if functions "C", "B", and "A" were visualized nested like: [C[B[A]]], they would execute from "inner" to "outer" in "A" "B" "C" order.

  • a stack overflow is a recursive invocation loop that exceeds the maximum allowed by the hosting environment.

JavaScript Error Messages

  • Reference Errors: Caused by invoking undeclared variables.

  • Syntax Errors: caused by symbol misplacement that makes code unworkable. (Note-- some hosting environments have degrees of self-correcting syntax.)

  • Range Errors: Caused by setting invalid values, like negative array lengths.

  • Type Errors: Caused by attempting operations on inappropriate types of data for for that operation.

  • Breakpoints: Lines of code that the execution will stop at, allowing a more focused look at potential sources of error (and fewer invocations in the stack). Breakpoints can be marked with debugger in the line of code desired.

Things I want to know more about

  • How different is error handling in other programming languages? Also, does the stack fundamentally differ?
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.