thể trùng lặp:
What does “javascript:void(0)” mean?
What doesvoid 0
mean?Làm thế nào để hiểu "trả về obj === void 0" trong nguồn của gạch dưới?
Trong tập tin http://underscorejs.org/underscore.js, bạn có thể xem như một khối mã:
// Is a given variable undefined?
_.isUndefined = function(obj) {
return obj === void 0;
};
Tôi không hiểu được void 0
một phần, nó rất lạ. Làm thế nào để hiểu nó?
http://stackoverflow.com/questions/7452341/what-does-void-0-mean – Freewind