15 lines
352 B
JavaScript
15 lines
352 B
JavaScript
'use strict'
|
|
|
|
// You may be tempted to copy and paste this,
|
|
// but take a look at the commit history first,
|
|
// this is a moving target so relying on the module
|
|
// is the best way to make sure the optimization
|
|
// method is kept up to date and compatible with
|
|
// every Node version.
|
|
|
|
function flatstr (s) {
|
|
s | 0
|
|
return s
|
|
}
|
|
|
|
module.exports = flatstr |