diff --git a/examples/lib/mapHtmltypes.js b/examples/lib/mapHtmltypes.js index 16899f66..c7005d43 100644 --- a/examples/lib/mapHtmltypes.js +++ b/examples/lib/mapHtmltypes.js @@ -24,7 +24,7 @@ function mapHtmlTypes(inputInfo){ htmlType = 'text'; break; } - var response = inputInfo; + var response = Object.assign({}, inputInfo); response.type = htmlType; return response; }