2024-08-01 22:40:48 +03:00

6 lines
180 B
JavaScript

module.exports = {
// Capitalize the first char of a string
// Example: capitalize('uint256') → 'Uint256'
capitalize: str => str.charAt(0).toUpperCase() + str.slice(1),
};