fchierad / PRD

Repository to store ECMAScript code used in workflows created with the product NetIQ Identity Manager.
MIT License
2 stars 2 forks source link

PRD.util.coerceToString should return default value on empty strings and arrays #10

Closed fernandofreitasdh closed 6 years ago

fernandofreitasdh commented 6 years ago

v1.0.3 - proposed changed code:

function coerceToString( input, defVal ) { var ret = '', str; /* Throughout this function String() is used to guarantee that the string generated

fchierad commented 6 years ago

Added proposed code to branch 1.0.4wip .