Jallen LiaoObject.create vs. New in javascriptObject.create() creates a new object, using an existing object as the prototype of the newly created object. This method is mainly used…Jul 8, 20202Jul 8, 20202
Jallen LiaoArray vs. ArrayList vs. List<> in C#An Array (System.Array) is fixed in size once it is allocated. You can't add items to it or remove items from it. Also, all the elements…Jul 7, 2020Jul 7, 2020
Jallen LiaoGenerator in ES6Regular functions return only one single value (or nothing), but generators can return (“yield”) multiple values, one after another…Jul 7, 2020Jul 7, 2020
Jallen LiaoProxy in javascriptThe Proxy object enables you to create a proxy for another object, which can intercept and redefine fundamental operations for the object.Jul 6, 2020Jul 6, 2020
Jallen LiaoIterator in ES6Iterator is an interface that offers uniform access mechanism for all collection data stuctures such as Array , Map and Set . Any data…Jul 5, 2020Jul 5, 2020
Jallen LiaoSingleton pattern in C#The purpose of Singleton Pattern is to create only one common access to an object, which means the class can only have on instantiation.Jun 20, 2020Jun 20, 2020
Jallen LiaoEvent delegation based on BubblingIf we have many similiar elements, we can assign a handler to the their common ancestor instead of assigning a handle to each of them…Jun 11, 2020Jun 11, 2020
Jallen Liao“this” keyword deep dive in JavascriptFirstly, let’s look at the definition for “this” keyword.Jun 10, 2020Jun 10, 2020