#1: Array Concatenation Returns a String
+ operator is a prime example.
This is why this happens:
Full code too long to display, see <a href="/api/content/static_files/strange-things-in-js/jsf___example.js" target="_blank">jsf___example.js</a> for full code
JSF*** after the
Brainf*** programming language.
You can read more about
JSF*** in this GitHub repo.
/* */ comments. In fact,
This exists because HTML comments were used inside
<script> tags so that browsers that did not support JS ignored it.
#5: Min Value is Greater than Zero... ?
Many programming languages have a min and max value feature, representing the maximum numbers the language can hold in a single variable.
Python has its
Getting the value of
Number.MIN_VALUE yields a very small number, but it is greater than zero too?
This is in fact correct, because
Be aware of this when using
Number.MIN_VALUE in your programs!
Thanks for scrolling.
— Gabriel Romualdo, December 15, 2019