有没有一种方法可以返回胖箭头的anon函数,运行一个条件,如果它是false返回一个错误,如果它在一行上返回true,没有分号?let example = (d) => { if (get(d, 'facebook_user.id')) return true; throw new Error('Missing `facebook_id
我尝试使用以下代码加载Facebook.php类,但两个代码都返回了相同的错误:Unable to load the requested class: Facebook * @const string The name of the environment variable that contains the app ID. const APP_ID</