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?
答案 0 :(得分:2)
Either:
You would need to ask the person who wrote the code. We can't know for sure without a lot more context.