using a var and a string to find a folder
to say some space and repetition I'm trying to use a var n to store a
common location for a folder but also want to later combine a image name.
example.
var n="/me/work/air/image/";
var get_images = ["'+n+'" "1.jpg"",n+ "2.jpg" ]
I'm simply just trying to include var n with the string "1.jpg" so the
result would be
"/me/work/air/image/1.jpg","/me/work/air/image/2.jpg"
No comments:
Post a Comment