Ext Direct functions defined in Fiddle work fine when it requires one or more arguments; however, functions that do not require any arguments error with a "Cannot read property 'slice' of null" error". This issue seems to be Fiddle specific.

https://fiddle.sencha.com/#view/editor&fiddle/1sec