1-liners
Version:
Useful oneliners and shorthand functions
23 lines (20 loc) • 370 B
JavaScript
/**
* @module 1-liners/toUpperCase
*
* @description
*
* Same as `'str'.toUpperCase()`.
*
* @example
*
* const toUpperCase = require('1-liners/toUpperCase');
*
* toUpperCase('hallo') // => 'HALLO'
*
*/
;
exports.__esModule = true;
exports["default"] = function (str) {
return str.toUpperCase();
};
module.exports = exports["default"];