6 مستودعات
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 هو محرك برمجة نصية مضمن ولغة ذات كتابة ديناميكية مصممة للدمج في تطبيقات Rust. يعمل كمترجم لشجرة بناء الجملة المجردة (AST) وطبقة تداخل أصلية، مما يسمح للمطورين بربط أنواع ووظائف Rust ببيئة برمجة نصية للتواصل ثنائي الاتجاه. يعمل المشروع كإطار عمل لإنشاء لغات خاصة بالمجال (DSL) قابلة للتخصيص. يسمح بتعريف عوامل تشغيل مخصصة، وبناء جملة، وبيئات تنفيذ مقيدة، مما يتيح إنشاء لغات متخصصة ذات مجموعات وظيفية مصممة خصيصاً. يغطي المحرك مجموعة واسعة من القدرات بما في ذلك الحماية (Sandboxing) المحدودة الموارد للتنفيذ الآمن، وتنظيم الكود المعياري، ومعالجة البيانات الشاملة للأنواع الرقمية والنصية والثنائية. كما يوفر أدوات لمعالجة AST، وتسلسل حالة التنفيذ، وقابلية المراقبة في وقت التشغيل من خلال فحص مكدس الاستدعاءات وواجهات التصحيح. تم تصميم المحرك للنشر عبر المنصات على أي وحدة معالجة مركزية أو نظام تشغيل مدعوم من المترجم الأصلي.
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 هو مترجم وسلسلة أدوات لغة عبر المنصات تحول كود مصدر Scala إلى JavaScript أو WebAssembly. تعمل كأداة مكتوبة بشكل ثابت لنظام JavaScript البيئي، مما يتيح تطوير تطبيقات لمتصفحات الويب وبيئات Node.js. يعمل المشروع كإطار عمل للتوافق مع JavaScript، مما يسمح بإنشاء واجهات وربط آمنة للأنواع للتفاعل مع المكتبات الخارجية والكائنات العالمية. يوفر آليات لاستدعاء JavaScript الثابت والديناميكي، بما في ذلك إنشاء روابط TypeScript والقدرة على تصدير المنطق الداخلي للاستخدام في كود JavaScript خارجي. تتضمن سلسلة الأدوات أداة بناء واجهة أمامية لتجميع الإنتاج وتحسين المخرجات، بما في ذلك إزالة الكود الميت وتقسيم الوحدات. تغطي مساحة واسعة من القدرات بما في ذلك التحقق من نوع عنصر DOM لتطوير واجهة المستخدم، ومشاركة الكود عبر المنصات للتطوير الكامل (full-stack)، وأطر اختبار متنوعة للتحقق من عناصر البناء المحسنة. يمكن تنفيذ النصوص المجمعة مباشرة داخل بيئة سطر الأوامر باستخدام مترجم JavaScript.
Captures the JavaScript this value as an explicit parameter to maintain closure compatibility in compiled functions.