yw662

yw662 @yw662

About: Trainee lawyer of TypeScript (and JavaScript)

Location:
localhost
Joined:
Jul 30, 2021

yw662
articles - 4 total

What indeed is `this` in JavaScript

Functions and their invocations Before we talk about this let's talk about function...

Learn More 0 0Feb 26 '23

custom elements and streamed HTML: Make CSR Great Again

This is a report for a recent experimental demonstrating project we are working on. However, the...

Learn More 1 0Feb 26 '23

How good is the shuffleArray from 7-killer-one-liners ?

As many of us may like this post about 7-killer-one-liners, we all know that shuffling looks not very...

Learn More 7 0Feb 14 '22

A "function type covariance" trap in typescript

In JavaScript and TypeScript, functions are generic, which means a: type f = (...args: [number])...

Learn More 5 0Feb 12 '22