cowboy/javascript-getclass — Issue #3: Bikeshed the name.
Author: jdalton
Created: 2011-10-27 17:52:54+00:00
State: open

In [a recent project](https://github.com/bestiejs/spotlight.js/blob/master/spotlight.js#L152-179) I used the name `getKind` or `getKindOf`.

This avoids the `type` vs `[[Class]]` argument and the confusion with DOM centric methods like `getClass` meaning get `element.className`.

This also gives me the freedom to support custom values like `Constructor` and `Global`.