increment.js 59 Bytes
Newer Older
hyeryung's avatar
hyeryung committed
1 2 3
'use strict'

module.exports = (value) => (value || 0) + 1