Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

October 08 2017


Скрытое соединение и

Скрытое соединение и сверло Форстнера | WikiHomia


Sanrenmu SK034Z Mult

Sanrenmu SK034Z Multi-use Toolkit #jewelry, #women, #men, #hats, #watches, #belts


all (weekly)

Posted from Diigo. The rest of my favorite links are here.

October 01 2017


September 24 2017


September 21 2017


Leatherman Universal

Leatherman Universal Tool Adapter


Python versus Java c

Python versus Java comparison for beginners to know the performance of programming language on speed, web application and game through this infographic.

September 18 2017


Variant of Slipped B

Variant of Slipped Buntline


Video: How to Tie th

Video: How to Tie the Davy Knot and Double Davy Knot - Orvis News


how do I securing mu

how do I securing multiple cord ends for jewelry - Google Search


September 17 2017


all (weekly)

September 14 2017


How to Tie a Sheepsh

How to Tie a Sheepshank Knot


camilla improvisada

camilla improvisada - Google Search


Head for Survival® O

Head for Survival® ORANGE Triangular Bandana Cravat with Survival Information @thistookmymoney


September 10 2017


September 06 2017


[[][[]]+[]][+[]][++[+[]][+[]]] is "n" in javascript via /r/ProgrammerHumor

[[][[]]+[]][+[]][++[+[]][+[]]] is “n” in javascript

This evaluates to “n” in javascript. Why?

Let’s start with an empty array


Now, let’s access a member of it.


What member? Let’s check for the empty array member


oh, that is undefined. But if we add an empty array to that, it is casted to the string “undefined”


Let us wrap that in an array


We can now try to access letters in that string. First, we must unwrap the string. That can be done by accessing the first element of that array.


0 can be created by casting an empty array to a number:


Now, “n” is the second letter in that string, so we would like to access that:


But how can we write 1? Well, we increment 0, of course. Wrap 0 in an array, and increment the first member of it:


Like before, this is equivalent to


So our final code is then the glorious


Submitted September 04, 2017 at 01:29PM by _hoh_
via reddit https://www.reddit.com/r/ProgrammerHumor/comments/6xzcgb/is_n_in_javascript/?utm_source=ifttt
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!