UNPKG
@coremail/core-js
Version:
latest (3.20.3-fix-avoid-third-party-bind)
3.20.3-fix-avoid-third-party-bind
Standard library
github.com/zloirock/core-js
zloirock/core-js
@coremail/core-js
/
internals
/
normalize-string-argument.js
6 lines
(4 loc)
•
196 B
JavaScript
View Raw
1
2
3
4
5
6
var
toString =
require
(
'../internals/to-string'
);
module
.
exports
=
function
(
argument, $default
) {
return
argument ===
undefined
?
arguments
.
length
<
2
?
''
: $default :
toString
(argument); };