SHARE
TWEET

Untitled

a guest Aug 14th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var can = user?.can || {};
  2. var canEdit = can.edit;
  3. var canDelete = can.delete;
  4.  
  5. // transpiles to:
  6. "use strict";
  7.  
  8. var _user;
  9.  
  10. var can =
  11.   ((_user = user) === null || _user === void 0 ? void 0 : _user.can) || {};
  12. var canEdit = can.edit;
  13. var canDelete = can.delete;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top