Honestly C and JavaScript could hardly be more different, as languages.
About the only thing they share is curly braces.