I am having the exact same problem. I have tried numerous functions on MDN including this snippet “”: () => (‘’),
that returns " " when I console.log(“”);
Used arrays, Object.key(), and read from countless sites. They seem to think the Object Property should be a word and then the condition. My brain broke.
I am piggy backing this post because their are multiple posts seeking the same help “or a solution at this point”. Appreciate any assistance that can be provided.
I have read the previous forum post’s and this “last step” has had me stuck for a couple of days.
Thanks for your reply but the advice of “this is missing a colon, a value, and a comma after” is not helping because the value is the issue we seem to be struggling with.
When you say value, I think maybe that is where I am lost. What could it possibly be when referring to an empty string? I have tried :
“”: (“”,() => {(“”)}),
“”: (array) => [“”], ---- console.log(Object(“”));Returns > String { "" }
“”: “”, — console.log((‘’)); RETURNS “”
“”: (“”), — console.log(Object(‘’)); Returns > String { "" }
I am all out of ideas. Thanks
This whole variable is simply an Object of spreadsheetFunctions made up of property names referencing functions, while some have keys (nums) acting as functions. To your point, anything inside of the () is a parameter or function, the latter requiring a definition and call back. This is probably more simple than I am making it. I feel like I am going to be kicking myself when I figure it out. Thanks again Teller for your guidance. I will try again tomorrow.
the problem is the exercise dont tell you what argument to use in the function but i got it and discovered by myself. use the same arguments you used in the other functions of the whole code.