Question:

What does the following code print to the console?

function dinero () {};
dinero.meaning = "money";
console.log(dinero.meaning);

Answer:

Functions are objects and can be assigned properties, just like any other object.


Keywords:

© 2017 QuizBucket.org