Monday 8 May 2017

How do I check a variable's type?

Sorry for the basic question. I used to be java programmer so I'm not familiar with var-type variable in javascript.So I'm using loopback for coding back-end middleware. There a variable named context that I have no idea what it is. And it's hard to search the documentation since variable named 'context' are used in multiple hooks and each of them are different. Is there a way in nodejs to list all the variables and possible method of an object?

Submitted May 08, 2017 at 06:18PM by zeedware

No comments:

Post a Comment