Board Thread:Code Review/@comment-25523075-20160330142213

I tested the JS code on my console but it said "undefined". Can you please fix the code?

MediaWiki:BlankPageSandbox/code.js 