M
M
Mikhail Osher2012-06-18 13:24:49
JavaScript
Mikhail Osher, 2012-06-18 13:24:49

Bug in latest chrome release?

There is a function. Set via var foo = function() { ... };.
Called in the console fine. But there was a problem:
Chrome was updated over the weekend, and the view links do not work. In the console I get "Uncaught TypeError: object is not a function". Once again I repeat: until this weekend everything worked.
<a href="javascript:" onclick="foo();">foo</a>

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Mikhail Osher, 2012-06-18
@miraage

jsfiddle.net/pMUZe/1/

A
Anatoly, 2012-06-18
@taliban

Show an example =) jsfiddle.net/jTmz7/ does this piece also not work?

M
maeln0r, 2012-06-18
@maeln0r

Try
function foo(){....}
foo

M
maeln0r, 2012-06-18
@maeln0r

Sorry tags cut pastebin.com/k4rxxH4f

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question