ui
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function mapInto(ClassName) {
|
||||
return this.map(function (value, key) {
|
||||
return new ClassName(value, key);
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user