I have a question. If ClassA aggregates ClassB and ClassC and ClassA calls a method of Class C in which it uses attributes from object of ClassB (passed by arguments) should I connect ClassB and ClassC or aggregation is enough?
Image for example: Diagram UML
Implementation:
class ClassA {
    constructor() {
        this.stringA = "Hello"
        this.objB = new ClassB();
        this.objC = new ClassC();
    }
    functionA() {
        this.objB.functionB(this.stringA);
        this.objC.functionC(this.objB.intB);
    }
}
class ClassC {
    constructor() {}
    functionC(intB) {
        console.log(intB);
    }
}
class ClassB {
    constructor() {
        this.intB = 10;
    }
    functionB(stringA) {
        console.log(stringA);
    }
}
Thanks for your help
 
    