Which is better for SEO ?
HTML
<p id="hello"></p>
<p id="HELLO"></p>
<p id="Hello"></p>
<p id="hELLO"></p>
JAVASCRIPT
function hello(){}
function HELLO(){}
function Hello(){}
function hELLO(){}
Case sensitivity doesn't matter for SEO. HTML, when used properly, does offer search engines clues about the content of a page but whether those tags and their attributes are capitalized or not is irrelevant. (Although it may matter for validating your HTML depending on the Doctype you choose).
Most search engines don't read JavaScript so that point may be moot. But even if they did the case of function names are also irrelevant.
I don't think search engine bots bother about html elements, element id's or javascript in the pages, let alone if id's or function names are upper- or lower case. It's headers and content that's interesting for SEO.