Custom Script Error

The below code is not workig, I want to use ¦¦ operator but there is some issue in that

frappe.ui.form.on(“Stock Entry”, “validate”, function(frm) {
if(user=="" ¦¦ user=="")
msgprint(“You are not allowed to Submit this document.”);
throw “Not allowed”;

Use two vertical pipes ||

I hope I have used those only.

Ah - I got it, thanks.