Get current user groups via CSOM (JavaScript) and REST API

Get current user groups via CSOM (JavaScript) and REST API
You can find all current user groups in SharePoint using CSOM (JavaScript). Here is the code I used to find groups : function GetCurrentUserGroups() {     var clientContext = new SP.ClientContext.get_current();     this.currentUser...