Get current employee ID

How to get current logged in employee ID using javascript? We get email by frappe.session.user but how to get its employee id?

yeah I’m also curious on how to do that.

By using this you can get user full name

Thanks @ROHAN_JAIN1 with that code you can get the full_name of the USER, but not the full_name of the EMPLOYEE.

change doctype in the script with Employee