MCQs>IT & Programming>JavaScript>What standard pattern is the following code? var x = function () { var y = 0; this.getCurrentCount = function () { return y; } }
JavaScript MCQs
What kind of standard pattern is the following code? var x = function () { var y = 0; this.getCurrentCount = function () { return y; } }
Answer
Correct Answer: Class Pattern
Explanation:
Note: This Question is unanswered, help us to find answer for this one