Answers for "js this in object"

1

js this in object

var wF = {
    w : 560,
    h : function() { return (312 - 42) / (560 / this.w) + 42; }
};

alert(wF.h())
Posted by: Guest on August-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language