2d
awarded Critic
May
17
comment Javascript perform .join on value in object array
Ah cheers for that :) In any case, I much prefer programming with a functional flair than an imperative one :)
May
17
accepted Javascript perform .join on value in object array
May
17
comment Javascript perform .join on value in object array
That's exactly what I'm looking for; thanks :)
May
17
comment Javascript perform .join on value in object array
I've dabbled underscore before, I was hoping for a way to do it in native JS though - it's a bit daft to pull in a whole library to use one method once :)
May
17
comment Javascript perform .join on value in object array
That's a pretty interesting approach, I didn't realise you could do this in JS. The data is coming from an API though, so it's probably not suitable for my use case, but it's definitely food for thought.
May
17
comment Javascript perform .join on value in object array
That would add a comma to the final element; not what I'm looking for sadly. Also it's just another imperative approach
May
17
comment Javascript perform .join on value in object array
To use one language as an example, a Pythonic way of doing this would be " ,".join([i.name for i in a])
May
17
asked Javascript perform .join on value in object array
May
14
accepted Semantics of turning list into string
May
10
answered Launch a GUI browser on server without a GUI?
May
10
awarded Popular Question
May
8
awarded Yearling
May
8
awarded Yearling
May
8
comment raid/lvm /sys/block/md1/queue/scheduler = none?
It looks like this is an XY Problem (see meta.stackoverflow.com/questions/66377/what-is-the-xy-problem) - what problem are you trying to solve?
May
7
revised raid/lvm /sys/block/md1/queue/scheduler = none?
Formatting
May
7
comment Ubuntu 12.04: why could it not read DVD? (Encryption)
Rebooting shouldn't be necessary (It wasn't for me, at least.) Please post the exact error message so we know what's specifically going wrong.
Apr
30
revised Semantics of turning list into string
added 220 characters in body
Apr
30
comment Semantics of turning list into string
I've edited the syntax to reflect that - the question was more about the overall semantics than that particular operation though :)
Apr
30
asked Semantics of turning list into string
1 2 3 4 5