Please who can interpret this function (d) {return " " + d.date; } ); | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please who can interpret this function (d) {return " " + d.date; } );

29th Nov 2016, 8:13 AM
Eze Ebuka
Eze Ebuka - avatar
2 Answers
+ 3
It seems, that it will return a string with the date of an object d
29th Nov 2016, 8:33 AM
Andreas K
Andreas K - avatar
+ 2
As i understand, you have a fonction receiving a parameter 'd'. A concatenation (+) with a white space is done before to return the date property from the object 'd'.
29th Nov 2016, 8:39 AM
Martin P.
Martin P. - avatar