Quiz: Pure Functions

Select all of the characteristics of a Pure Function
Always return the same result given the same arguments.
Don't modify the variables outside of their scope.
Execution doesn't depend on the state of the application.
Don't create any new variables
Doesn't modify variables in its own scope
const getTime= () => {
  return New Date().toLocalTimeStrimg()
}
const getTime= () => {
  return New Date().toLocalTimeStrimg()
}
Is this a pure function?
Yes
No
{"name":"Quiz: Pure Functions", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Select all of the characteristics of a Pure Function, const getTime= () => { Β  return New Date().toLocalTimeStrimg() }, Is this a pure function?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker