Kannoju Arvind

@Arvind777 (0)
"Objects in javascript" I'm confusing can anyone solve this and explain?
posted to Ask by Arvind777

@Coder100 for example function excerciseOne(student){

student = {[name,class,rollno]} // don't know wether it is correct or not
var school = student
return school

}
document.write(exerciseOne('student'));

something like this

"Objects in javascript" I'm confusing can anyone solve this and explain?
posted to Ask by Arvind777

@SUHASTADIPARTH1 It should return an array like [name,sclass,rollno] when we pass student as parameter to the function