- Added Custom Exams tab showing all exams from Generation page - Displays title, module badges, duration, and status - Added Create Exam button - Kept Exam Sessions tab for institutional sessions - Search filters across exams Made-with: Cursor
10 lines
250 B
JavaScript
10 lines
250 B
JavaScript
var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
|
/**
|
|
* Collects all child nodes of an element.
|
|
*
|
|
* @param node the node
|
|
*/
|
|
|
|
export default function childNodes(node) {
|
|
return node ? toArray(node.childNodes) : [];
|
|
} |