• Detect window scrollbars

    Clean JavaScript to detect if the window has a scrollbars.

    Read more

    Posted in JavaScript, Snippets

  • Thoughts about __proto__

    What __proto__ is, where it is hiding, what does it do. var obj = new Object([value]); Object() is a constructor. It creates an object of a type corresponding to the given value. If value is omitted or null or undefined it returns empty object. When a function object is created, it is given a prototype […]

    Read more

    Posted in JavaScript