JSFiddle - React, Tailwind, and code Playground
by manoj jasti
JavaScript
class Attachment
{
private string serverName = string.Empty;
public Attachment(){
}
public Attachment(string srverName){
serverName = srverName
}
}
class AnotherClassToCallAttachment{
Attachment(); // does nothing
Attachment("SomeTestServerName") // sets sometestServerName while instantiating
}