In practice, such a confusion can be avoided by choosing an API that telegraphs the const-correctness of the function. Array's slice (ECMAScript ...
確定! 回上一頁