Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Im trying to pick a line with smallest number from list.
Like that: Math.min([[NEW_LIST]])
List contains 3 integers but it returns null instead.
How can you do that?
@yourfriendkarol
[[MIN]] = Math.min.apply(null, [[NEW_LIST]]);
||
[[MAX]] = Math.max.apply(null, [[NEW_LIST]]);
@Fox Thanks! will try immediately
Please attach a test project that replicates this problem. Also, specify what is in the resource? You can attach the project and the file for the resource here or in a forum PM.
@lambo the "linesfromfile" resource is a string, not an array. 0_1548818895102_e9d36640-a874-43c4-acc2-6bfb1fec65c2-изображение.png
test script
or so: 0_1548819224570_e5974a72-1adc-41ab-82d8-cda705194459-изображение.png
its better if you mention site