Hi! I’m Sean, a second-year undergraduate at UC San Diego majoring in computer engineering. I have been doing web development since 2016.
My main website lists all my interests and projects, but I’ll include some of my interests below.
For employers, here are my location preferences:
My main three interests are
I also like JavaScript quirks. Here’s one I discovered a few months ago:
The ECMAScript specification has a special case for JavaScript’s
for
-of
syntax.This is invalid syntax:
for (async of [2]) async
However, the following are valid syntax and execute without a runtime error (they all return
2
when evaluated witheval
or in the console).for (let async of [2]) async for ((async) of [2]) async for await (async of [2]) async // Inside an async function
This is because the specification specifies that a
for
keyword followed by an open parenthesis cannot be immediately followed by the exact sequenceasync of
. This only applies tofor
, notfor await
.