Prototype

WindowSize getSize();

Returns

size of current window