6 repository-uri
Binds the this keyword explicitly using call, apply, bind, and arrow functions across five binding rules.
Distinct from Function Context Binding: Distinct from Function Context Binding: covers the specific techniques for explicitly binding this (call/apply/bind/arrow functions) rather than general context fixing.
Explore 6 awesome GitHub repositories matching programming languages & runtimes · Explicit This Binding Techniques. Refine with filters or upvote what's useful.
This repository is a curated knowledge base focused on core JavaScript fundamentals, specifically designed for frontend interview preparation. It provides structured explanations of essential concepts including closures, prototype chains, execution contexts, and memory management, serving as a reference for developers seeking to deepen their understanding of the language's inner workings. The content covers a range of practical JavaScript topics, including object copying techniques (shallow and deep copy), event handling optimization through throttle and debounce patterns, and functional prog
Masters the five rules that determine the value of this in different function call patterns.
This project is a reference catalogue of the new syntax and behavioral changes introduced in the ECMAScript 6 (ES6) specification for JavaScript. It serves as a curated overview and comparison table of the language features defined by the standard, documenting additions such as block scoping with let and const, arrow function syntax, default parameter handling, and rest parameter collection. The reference is structured as a side-by-side comparison chart that maps old and new JavaScript syntax patterns, providing a focused guide for each capability. It covers the core language fundamentals
Captures the surrounding this value automatically inside arrow functions, removing manual binding.
You Don't Know JS is an open-source educational book series that explains the core mechanisms of the JavaScript language in depth. The project is a freely available learning resource, structured as independent volumes that each focus on a single JavaScript mechanism, and is available in a complete Brazilian Portuguese translation. The series explores how JavaScript's fundamental systems work under the hood, including scope, closures, prototypes, and the this keyword. It covers concepts such as lexical-scope compilation, closure-based variable retention, hoisting-based variable declaration,
Demonstrates how the this keyword is determined by the call-site context rather than function definition.
Rhai este un motor de scripting încorporat și un limbaj cu tipizare dinamică, conceput pentru integrarea în aplicații Rust. Acesta funcționează ca un compilator de arbore sintactic abstract (AST) și un strat de interop nativ, permițând dezvoltatorilor să mapeze tipuri și funcții Rust într-un mediu de scripting pentru comunicare bidirecțională. Proiectul servește drept framework pentru crearea de limbaje specifice domeniului (DSL) personalizabile. Permite definirea de operatori, sintaxă și medii de execuție restricționate, facilitând crearea de limbaje specializate cu seturi funcționale adaptate. Motorul acoperă o gamă largă de capabilități, inclusiv sandboxing cu resurse limitate pentru execuție securizată, organizare modulară a codului și procesare cuprinzătoare de date pentru tipuri numerice, string-uri și binare. Oferă, de asemenea, instrumente pentru manipularea AST, serializarea stării de execuție și observabilitate la runtime prin inspectarea stivei de apeluri și interfețe de debugging. Motorul este conceput pentru deployment cross-platform pe orice CPU sau sistem de operare suportat de compilatorul nativ.
Allows associating a specific object with a function call to serve as the internal this context.
This project is a frontend development blog and technical knowledge base. It serves as a software engineering reference and web development portfolio, providing a curated collection of articles and notes on front-end engineering, programming patterns, and computer science fundamentals. The site focuses on frontend engineering education and technical knowledge management. It covers software architecture patterns, web development workflows, and engineering interview preparation through the organization of technical guides and tutorials. The project's scope includes the documentation of browser
Explains explicit this binding techniques using call, apply, and bind to reuse logic across contexts.
Scala.js este un compilator și un toolchain de limbaj cross-platform care transformă codul sursă Scala în JavaScript sau WebAssembly. Funcționează ca un instrument tipizat static pentru ecosistemul JavaScript, permițând dezvoltarea de aplicații pentru browsere web și medii Node.js. Proiectul servește ca framework de interop JavaScript, permițând crearea de fațade și binding-uri type-safe pentru a interacționa cu biblioteci externe și obiecte globale. Oferă mecanisme atât pentru invocarea JavaScript statică, cât și dinamică, inclusiv generarea de binding-uri TypeScript și capacitatea de a exporta logica internă pentru utilizare în cod JavaScript extern. Toolchain-ul include un instrument de build frontend pentru bundling-ul de producție și optimizarea output-ului, inclusiv eliminarea codului mort și împărțirea modulelor. Acoperă o suprafață largă de capabilități, inclusiv verificarea tipurilor elementelor DOM pentru dezvoltarea UI, partajarea codului cross-platform pentru dezvoltarea full-stack și diverse framework-uri de testare pentru verificarea artefactelor de build optimizate. Scripturile compilate pot fi executate direct într-un mediu de linie de comandă folosind un interpretor JavaScript.
Captures the JavaScript this value as an explicit parameter to maintain closure compatibility in compiled functions.