let name = "asraf";
var a = "hello";
var Obj = {
  [a+name] : "Asraful islam ",//it's working 
  course : "Btec",
  detail : function (){
    return this.a+name+ " is a student of " + this.course; // it's didn't working 
  }
}
console.log(Obj.detail());
output : undefinedasraf is a student of Btec
