@eturnity/eturnity_reusable_components 8.22.22 → 8.22.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -953,7 +953,11 @@
|
|
953
953
|
})
|
954
954
|
let evaluated
|
955
955
|
formatted = this.removeStringItemsAfterLastNumber(formatted)
|
956
|
-
|
956
|
+
try {
|
957
|
+
evaluated = eval(formatted.join(' '))
|
958
|
+
} catch (e) {
|
959
|
+
evaluated = formatted.join('')
|
960
|
+
}
|
957
961
|
if (typeof evaluated === 'string') {
|
958
962
|
evaluated = stringToNumber({
|
959
963
|
value: evaluated,
|