how to use Auth::user() in nodejs code example
Example 1: what is use of tilde in js
//Bitwise operator
console.log(~-2); // 1
console.log(~-1); // 0
//Converting Strings to Numbers
console.log(~~"-1"); // -1
console.log(~~"0"); // 0
Example 2: how to use for of in javascript
const array1 = ['a', 'b', 'c'];
for (const element of array1) {
console.log(element);
}