forkeys-compat
v1.0.1
Published
A version of forkeys for non-ES6
Downloads
1
Readme
forkeys-compat
A version of forkeys with compatibility for non-ES6.
Example
You can see an example here.
var forkeys = require('../index.js');
(function() {
"use strict";
var obj = {
firstKey: 0,
secondKey: "bla",
final_key: "last one"
};
forkeys(obj, function (key) {
console.log("forkeys: key: " + key + ", val: " + obj[key]);
});
})();
License
Created by jameskmonger, licensed under The Unlicense (see LICENSE).