You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
18.1 Overview 18.2 Programming versus metaprogramming 18.2.1 Kinds of metaprogramming 18.3 Proxies explained 18.3.1 An example 18.3.2 Function-specific traps 18.3.3 Intercepting method calls 18.3.4 Revocable Proxies 18.3.5 Proxies as prototypes 18.3.6 Forwarding intercepted operations 18.3.7 Pitfall: not all objects can be wrapped transparently by Proxies 18.4 Use cases for Proxies 18.4.1 Tracing
Javascript Proxies are a new addition in ES6. It’s a powerful feature that can be used for solving various problems elegantly. We are going to examine and re-create a small utility library by Sindre Sorhus called on-change. The aim is to conceptually understand JavaScript Proxies, and in the process, build something so that the concepts are reinforced. I have tried to keep things as simple as poss
How to Study Effectively for Exams: The Art of Preparing Well for Exams? Studying is an important issue related to academics, and the right strategies would highly improve your grades during exams. Nonetheless, numerous students fail in exam preparations because of inadequate approaches. This article will examine proven ways of how to study quickly and effectively for exams. Consequently, you will
JavaScriptSafeNavigation.md Experimental Safe JavaScript Navigation Implemented using ES6 Proxies and Symbols The purpose of this function is to provide a way to avoid deep nested conditionals when traversing a hierarchy of objects. Some languages use an operator such as '?.' to perform this capability. This is sometimes called safe navigation or null conditional operators. You can somewhat think
Not actively maintained, may not work with latest node.js runtimes. If you are interested in maintaining toxy, please open an issue. Hackable HTTP proxy to simulate server failure scenarios, systems resiliency testing and unexpected network conditions, built for node.js. It was mainly designed for failure resistance testing, when toxy becomes particularly useful in order to cover fault tolerance a
Shiubya.js #1で話したネタですが、Winkでデモを作ってみました。 http://la.ma.la/misc/demo/realtime_cssedit.htm エディタとブラウザが並んでて窮屈ですが、実際はこれを20インチワイド液晶縦置きデュアルでやります。 仕組みは、WEBrickでローカルプロキシを立てて、同名のファイルがローカルにある場合は内容を置き換えて表示する、というもので、CSSやJavaScriptを編集するのに向いています。 プロキシサーバーはPerlで書かれた同等のものがここにあります。 http://www.ornithopter.jp/archives/2006/05/perl_perl.html 自分が使ってるのは必要に応じて行き当たりばったりに拡張していったりするのですが、現時点でのソースを置いておきます。 http://la.ma.la/misc/
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く