Created
April 21, 2016 14:04
Revisions
-
Sean MacIsaac created this gist
Apr 21, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ function hasKey (object, key) { for (var k in object) { if (k === key && object.hasOwnProperty(key)) { return true; } } return false; }