javascript new and this keyword
I have been given a task at my internship , I have to create math operations like plus(), minus() etc. using this and new keywords. example:- one().plus().two().equalTo() , given line of code must return 3. I tried creating functions which…