Get Checkbox (checked or unchecked) Value in Javascript

Hi,
I would like to find the value of checkbox checked or not (Implemented in ux file) in Javascript. But somehow dont able to track it back in JS.

Here is checkbox code:

//UX file




    
        
        
    

    
        
    

    
        
    

    
        
    

</pre

// JS File
module.exports = {
    onClickSpecificTime: function(e) {
        console.log(JSON.stringify(e));
    }
}

Sorry for the incomplete code pasted above as I am have written the completed UX code but the preview doesn't show my whole content

But the idea is that I wanted to get the checkbox value back in JS code

It’s not really possible to help you out without more code. Please provide a (minimal) self-contained snippet of code.

Also, perhaps Switch might be of help? It’s intended for implementing checkboxes.