1/20
These flashcards cover key concepts and terms from the JavaScript lecture notes.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
JavaScript
A lightweight, interpreted, and dynamic programming language primarily used to make web pages interactive.
ECMAScript
Standardized scripting language that JavaScript is based on, with versions like ES1, ES6.
Client-Side
Code that runs in the user's browser, not on the server.
Dynamic Typing
Variable types are set automatically at runtime.
Node.js
A runtime that allows JavaScript to run on the server side.
Function Declaration
A function defined using the 'function' keyword.
Array Method: push()
Adds one or more elements to the end of an array.
Object Method: Object.keys()
Returns an array of a given object's own enumerable property names.
DOM (Document Object Model)
A tree-like representation of your HTML page that JavaScript can manipulate.
Event Listener
A procedure in JavaScript that waits for an event to occur, such as a click.
JSON (JavaScript Object Notation)
A lightweight data-interchange format that is easy for humans to read and write.
Local Storage
Web storage that persists even after the browser is closed.
ES6 Features
Modern JavaScript features that include arrow functions, classes, and template literals.
Strict Equality (===)
Compares both value and type, avoiding unexpected type coercion.
Error Handling: try/catch
A structure that allows for handling errors gracefully without crashing the application.
Spread Operator
Allows an iterable, such as an array, to be expanded in places where zero or more elements are expected.
Event Types
Categories of events such as mouse events, keyboard events, and form events.
Forms Validation
The process of ensuring the correctness of user input in web forms.
Best Practices in JavaScript
Guidelines for writing code that is clean, efficient, and maintainable.
Template Literals
String literals allowing embedded expressions and multi-line strings.
Arrow Function
A concise way to write function expressions in ES6.