Sean Coleman
Sean Coleman

Reputation: 103

jsbin produces "Script error. (line 0)" when using console.log("test")

I wrote a one line JS script in jsbin and in the console, it spits out an error.

console.log("test");

In the console on jibs, it shows:

"error"
"Script error. (line 0)"
test

Why? Pretty valid piece of code.

Upvotes: 1

Views: 2096

Answers (2)

Chaoyenpo
Chaoyenpo

Reputation: 389

Only need to press the new file in the upper left corner

Upvotes: 3

Sean Coleman
Sean Coleman

Reputation: 103

I believe the problem is with the browser, not Jsbin. I posted this answer in case others experience it.

Upvotes: 4

Related Questions