Why shouldn't we extend JavaScript prototypes? -


i've seen lots of stack overflow javascript questions answers include modifying prototypes of primitive types (such this). many times highest upvoted answer not use prototype mod.

this made me wonder, other possibly few lost milliseconds efficiency, pros , cons of prototype modification?


Comments

Popular posts from this blog

The SDK directory does not exist (ubuntu 16.04) (react native) -

python - How to clone or copy a list? -

python - How to use Celery in Tornado with redis as broker and backend? -