I'm attempting to print a variable print(<variableName>) but I get an error it's not a; function ?
I searched online and all I could find is that; it's not a function so how can I fix this; I don't know another command.
Siberian
13
Junior Poster
Recommended Answers
Jump to PostWhich language? Which error? Which code?
Jump to Postafaik javascript has no print function.
There iswindow.alert
anddocument.write
orconsole.log
All 5 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
Siberian
13
Junior Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Siberian
13
Junior Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.