Comments (3)
This page contains the following errors:
error on line 19 at column 14: Opening and ending tag mismatch: code line 0 and p
Below is a rendering of the page up to the first error.
wtfjswtfjshttp://github.com/brianleroux/node-code-bloghttp://wtfjs.com/min less maxThis beauty is courtesy of TiTi ...lets look at some code. Math.max(); // -Infinity Math.min(); // Infinity Ok, so, there is a good reason for this behaviour. It might even make sense if you happen to occasionally omit args from your min/max calls. ;) You see, the min/max implementations need something to compare to and Infinity and -Infinity are the only safe values to use for that comparison. @kriskowell goes into more better detail here and was quickly followed by @BrendanEich whom not only wrote js in 10 days but can rock out unicode Infinity symbols without looking them up ...I shit you not. Of course, due to this behaviour js allows for this code humour:
from wtfjs.
Pull requests accepted! Dupe of #33, thanks!
from wtfjs.
Still broken:
"500 TypeError: Cannot set property 'Content-Type' of undefined"
from wtfjs.
Related Issues (20)
- Arary Comparison
- Fibonacci is so last year, let's go with Lucas numbers. HOT 2
- JSON.stringify(Infinity) goes crazy
- Regular Expression and Slash - not really an issue HOT 4
- new Number() HOT 1
- es5
- operator if'
- Maintain this repository HOT 9
- The Hungry Variable HOT 1
- Website down HOT 14
- Website issues HOT 8
- Page does not load (400 error) HOT 2
- Fix syntax highlighting
- Is this project dead? HOT 3
- https://wtfjs.com/wtfs/2013-03-06-false-isnt-false HOT 2
- Date comparison HOT 2
- Missing document HOT 2
- enhance.dev rework
- [interesting?] Was Javascript really made in 10 days?
- 2010 02 12 maths fun - one example applies to many lanugages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wtfjs.