Convert line of Csharp to Javascript

Hey guys,
I really need help to convert this Csharp line of code to java script:
Social.ReportProgress(“Cfjewijawiu_QA”, 100.0f, (bool success) => {
// handle success or failure

I would really appreciate your help if someone could convert this from their knowledge.

Social.ReportProgress(“Cfjewijawiu_QA”, 100.0, (success : boolean) => { // handle success or failure });