Question
This is what's being thrown, but it's not telling me where it is wrong. Given I copied and pasted their example to test that it wasn't just my own extension throwing errors, I would have expected this to work.
I copied this from here: https://dev.opera.com/extensions/basics/
Why is it breaking?
Update
It is now pointing me to errors in my JS that are on lines that do not exist. I would appreciate advice.
Updated Code
function ReturnInfo(tab) {
var TitleVal = tab.title;
var URLVal = tab.url;
var Dte = new Date();
var D = Dte.getDate();
var M = Dte.getMonth();
var Y = Dte.getFullYear();
var DateRetrieed = `${D}/${M}/${Y}`;
}
var AllDict = chrome.tabs.getCurrent(ReturnInfo);
