Reputation: 1
I found a snippet using parseInt
; it is used to get the window height.
This is the code:
parseInt($(window).height(), 20);
I am confused about why this uses 20 as the second parameter. Why not 10?
Upvotes: 0
Views: 29
Reputation: 943591
Either:
You would need to ask the person who wrote the code. We can't know for sure without a lot more context.
Upvotes: 2