Where are the links? Typescript

Hi
on the typescript course - Pre requisites Mosh says there are links on leaning JS. I know vanilla JS but not arrow functions. Could not find those links, not familiar with the UI? Using a laptop (chrome on Ubuntu 22.04)

Screen shot if what I can see Pasteboard - Uploaded Image the download is to the video

I think Mosh is referring to his JS course. If you have bought it then you can navigate to it and search for “arrow functions” video.

Otherwise you can watch this video from 14:00 timestamp:

1 Like

okay thanks, yes i started looking at some written tutorials on the web and youtube videos. thanks.

These helped too :

My code sample experiments:

const Person = {

    fname : "Mary",
     talk(n){
        var self = this;
        setTimeout(() => {console.log("hi in talk callback " , this , " " + new Date(), "self ", self, ", n " + n); }, 800);
        console.log("hi in talk " , this , " " + new Date(), ", n " + n);
        
        //console.log(this);
     } ,

     talk2 : (n) => {
        //here this wont work
        setTimeout(() => {console.log("hi in talk callback2 " , this , " " + new Date() + ", n " + n); }, 1256);
        console.log("\nhi in talk2 " , this , " " + new Date() + ", n " + n);
        //console.log(this);
     }

};
Person.talk(67);
Person.talk2('gh');

Person.talk(83);