by nkrisc · 7y ago · 0 comments
What is this called? I'd like to read more about it.
class Resource{
constructor({
min = 0,
max = 1,
count = 0
}={}){
this.min = min;
this.max = max;
this.count = count;
}
}https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...