You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Membership should be inferred when using the revealing module pattern.
/**
* Calculator module
*/
function Calculator() {
/**
* Add two numbers
* @param {number} x - The first number
* @param {number} y - The second number
* @returns The sum of the arguments
*/
function add(x, y) {
return x+y;
}
/**
* Creates a magical unicorn
* @private
*/
function somethingPrivate(){
// something
}
return {
add: add
};
}
The text was updated successfully, but these errors were encountered:
Membership should be inferred when using the revealing module pattern.
The text was updated successfully, but these errors were encountered: