2016-11-10 32 views

回答

1

使用!MyEnum其中!表示「非空」。

/** 
* @param {!MyEnum} enumObj 
*/ 
function showEnum(enumObj) { 
    console.log(enumObj); 
}