bigdatahci2015 / forum

0 stars 4 forks source link

lodash variables #9

Open kjblakemore opened 9 years ago

kjblakemore commented 9 years ago

Hi, does anyone know how to pass a variable between lodash code segments in markdown documents? For the analysis section of the week 2 Hackathon, I've created an array, 'students' derived from 'data.comments'. I then use 'students' to answer the questions. Rather than recreating 'students' each time, I would like to re-use this variable in each of the lodash code segments to answer the questions.

doubleshow commented 9 years ago

try assigning new variables to data

data.foo = 3

can you please verify whether this works?

kjblakemore commented 9 years ago

Yes, that works, great! Thanks!