Email or username:

Password:

Forgot your password?
Top-level
Stuart Langridge

@jaffathecake this year has been a succession of discoveries of stuff which I have believed is true for years (sometimes decades) and I have never revisited. Radix parameter to parseInt()? Not required. NodeLists don't have .forEach? Yes they do. Property names are allowed to be reserved words? This is the latest surprise. Next someone will tell me that with{} is OK or something

3 comments
Stuart Langridge

@jaffathecake (picture of white van falling very slowly off a bridge)

Coop

@sil @jaffathecake

This week I learnt that there's a `parentElement`. I had just been using `parentNode` for so long, I didn't realise there was something else. Funnily enough it was Typescript that told me to use something other than `parentNode`.

Go Up