const timestamp = _.now();
console.log(timestamp);
Output
1649690293230
The _.now() function is an in-built function of Lodash Library and it is mainly used to get the current timestamp. The Lodash library is used to manipulate data in the form of arrays or objects.
0 Comments