sizeof icon indicating copy to clipboard operation
sizeof copied to clipboard

Functions are objects too in javascript

Open gion opened this issue 8 years ago • 1 comments

Let's say we have the following case:

var fn = function() {}
fn.prop = 'value';

Your code wouldn't cache the prop size.

gion avatar Dec 15 '16 12:12 gion

FYI https://stackoverflow.com/questions/1248302/how-to-get-the-size-of-a-javascript-object

Portur avatar Apr 10 '18 11:04 Portur

Fixed here https://github.com/miktam/sizeof/pull/76

miktam avatar Feb 02 '23 10:02 miktam