4 ms·
For some reason I thought using Object.keys was the way to go. For .. in just looks horrible :D
by notsag-hn 7y ago
For some reason I thought using Object.keys was the way to go. For .. in just looks horrible :D
- cwidanage 7y agoObject.keys + traditional forloop performs better than for..in. Updated the article.