Home »
MCQs »
Meteor.js MCQs
Which of the following function produces an array containing the names of all session variables?
20. Which of the following function produces an array containing the names of all session variables?
- Session.collection
- Session.array
- Session.dict
- Session.keys
Answer: D) Session.keys
Explanation:
Session.keys function produces an array containing the names of all session variables.