Hi guys,
I’m studying JavaScript and I found something like this:
() => {
console.log("handler information");
}
So what the code above is called. I understand that it would print out “handler information” on the console.
But what is it? How it would be use. I found it as a part of something like this:
navigator.requestPermission({argument1, argument2}).then(
() => {
}
);
Thanks,