10 lines
195 B
JavaScript
10 lines
195 B
JavaScript
function addStudent(id, refreshCallback)
|
|
{
|
|
refreshCallback();
|
|
}
|
|
|
|
function refreshStudentList() {
|
|
console.log('Hello');
|
|
}
|
|
|
|
addStudent(1, refreshStudentList);
|