string-concatenation


“No message” when writing string with console.log()


I'm trying to log a message to a browser (in my case, Safari) console, and build it up by combining a few strings. But if I include a particular string, which can be logged on its own, I get what kind of looks like an array named "No message", whose contents is the string I'm trying to log.
This code:
var msg1 = ["Outlier!",mName,"for",item[i_v].target,"start",item[i_v].start,"end",item[i_v].end].join(' ');
var msg2 = ["Outlier!",mName,"for",item[i_v].target].join(' ');
console.log(item[i_v].start);
console.log(item[i_v].end);
console.log(msg1);
console.log(msg2);
Produces this in the console:
[Log] 2016-01-27T00:00:00 (index.html, line 674)
[Log] 2016-01-04T18:25:51 (index.html, line 675)
[Log] No message (1) (index.html, line 676)
Outlier! percent_availability for BK.CMB.00.BHZ.M start 2016-01-27T00:00:00 end 2016-01-04T18:25:51
[Log] Outlier! percent_availability for BK.CMB.00.BHZ.M (index.html, line 677)
I have to guess there is something funky about the string in item[i_v].start (and it is a string, according to typeof), but have no idea what it might be or what I can do to use it to build a larger string. Any ideas as to how to do so, or even suggestions of what to investigate, would be appreciated.

Related Links

ConcatRelated Function Returns All Values
In java properties file itself can we concatenate two or more than two variables together?
“No message” when writing string with console.log()
Moqui:We can use create an view with concatenating two or more columns as single column. simple can we do concatenatio in moqui view creqtion.
Error in ConcatRelated
String Concatenating functions in Progress 4GL?
sybase - simple concatenation
How do you concatenate strings in a Puppet .pp file?

Categories

HOME
oracle12c
ng-idle
fpga
hessian
jwplayer
requirements
grafana
replace
newrelic
aws-cli
mvc5
crystal-lang
opengl-3
title
joomla3.0
mql5
jquery-ui-sortable
mxgraph
redis-sentinel
emoji
heat
mongodb-csharp
parameter-passing
http-post
digital-signature
nim
oledb
replication
springfox
href
backpack-for-laravel
ckfinder
custom-post-type
motion-detection
flooding
fractions
ceylon
errbot
eviews
postback
playstation-portable
clickjacking
numpy-broadcasting
imagenet
stringtokenizer
naming
preloader
term
wcftestclient
fclose
vugen
posixct
page-replacement
payara-micro
context-sensitive-grammar
monkey
d3-force-directed
polyline
stax
hadoop-2.7.2
centrifuge
segment-io
async.js
vulcanize
nikeplus-api
mapinfo
dimension
xdoclet
lean
nss
data-protection
fink
findfirst
ascii-art
state-restoration
character-replacement
themoviedb-api
iokit
wiredep
zen-cart
coda
vacuum
jsvc
dot.js
broadband
iso-prolog
draw2d-js
radiant
gwt-openlayers
light
gd-graph
jammer
dtmf
octal
diem
android-icons
alice
resource-management
panda3d
mkv
qi4j
pyunit
garbage
fusefabric
infobright
fsevents
google-ajax-api
creole
uipagecontrol
timthumb
timertask
dsl-tools
wysiwym
entitykey
product-management
wspbuilder

Resources

Encrypt Message