portal entry

select a category, or use search below
(searches all categories and all time range)
Title:

Array with number vs Typed Array where the type is number

| View in Portal
October 16, 2019 05:16:59 PM GMT
0 Comments
<p>I have the following code <cfscript> data = [‘2342bas’, ‘asqwerewq’, ‘12314’, 12421, 1.1]; newdata = arrayNew[‘Numeric’](1); for (item in data) { newdata.append(val(item)); } writedump(newdata); newdata = []; for (item in data) { newdata.append(val(item)); } writedump(newdata); </cfscript> This result in Not sure this is wrong, but it is interesting</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2019/10/array-number-vs-typed-array-type-number/">Array with number vs Typed Array where the type is number</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: Functions, Language, Question, 2018, functions, language, question

Comments: