I am creating a factory and trying to put some methods onto it. I am testing with simple console.logs. The method that logs a string works (logTitle), the one that references a boolean (logCompleated) (which i later want to change with an updated method that will toggle compleated from true to false and back) does not work. I get "arrayFunctions.js:20 Uncaught ReferenceError: compleated is not defined" comments in the code to highlight problem. Thanks in advance.
const todoFactory = (
  title,
  project = "",
  dueDate = "",
  priority = "",
  notes = ""
) => {
 
  return {
    title,
    project,
    dueDate,
    priority,
    notes,
    compleated: false,
    logTitle: () => console.log(title), //works
    logCompleated: () => console.log(compleated), //arrayFunctions.js:20 Uncaught ReferenceError: compleated is not defined
  };
};
 
    