unique.Time() did not work in a function node so I tried
let time = new Date().getTime().toLocaleString();
time = time.replaceAll(",","");
to do something similar but replaceAll is also complained.
I can't find any reference to unique.Time, can you provide any docs to what it does?
String.replaceAll was only adding in Node 15. Before that you can use
String.replace with the global flag:
time = time.replace(/,/g,"")
But, as Colin says, not sure what
unique.Time() is referring to - can't find any mention of that in any language.
Thanks for that . The global flag solution did work.
probably unique comes from the jquery libray from the page I want to migrate to dashboard
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.