6de2455917
- Added GLOBAL_MARKETS_TITLE to all translation files - Updated footer with 12 markets (4 active + 8 upcoming) - Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi - Built and deployed to production - CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
fn.name
Extract the name of a given function. Nothing more than that.
Installation
This module is compatible with Browserify and Node.js and can be installed using:
npm install --save fn.name
Usage
Using this module is super simple, it exposes the function directly on the exports so it can be required as followed:
'use strict';
var name = require('fn.name');
Now that we have the name function we can pass it functions:
console.log(name(function foo() {})) // foo
And that's it folks!
License
MIT