Skip to content

forkeys/forkeys-compat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Forkeys with non-es6 compatibility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published