Maybe you pasted it in the wrong console? You need the 'browser console' which is different from the one you open on random webpages.
Go to "about:config" (in the url bar), search for and enable devtools.chrome.enabled, then hit ctrl-shift-j (or you can open it from Menu -> Web Developer -> Browser Console).