hjertnes.blog

#

01.11.2017 01:00

Note to self: don’t start updating your Apple Watch when you have a train to catch.

#

01.11.2017 01:00

#

01.11.2017 01:00

Repl.it

01.11.2017 01:00

Repl.it is an Repl(read–eval–print loop) kind of like what you get if you type node or python into your terminal of choice. But it is much nicer to use.

```text I use it all the time to play around with Javascript features(it supports many more languages though) when I need to show or learn how something works. ```

#

31.10.2017 01:00

iPhone Ex.

#

31.10.2017 01:00

“Sometimes, bad things happen, and there’s nothing that you can do about it. For these cases, Rust has the panic! macro. “ — The Rust Programming Language

#

31.10.2017 01:00

What’s the deal with pumpkin flavored anything?

Looping over an Object

31.10.2017 01:00

There are two ways (that I’m aware of) to loop over an object in plain Javascript; either use the for in syntax, example number one below, or by using Object.keys, see example number two.

```text I personally prefer the fist method, because it involves less typing, but the second example might be easier to understand, if the developers on your team aren’t familiar with the difference between for in and for of. ```

#

30.10.2017 01:00

#

30.10.2017 01:00