var host = location.host || location.hostname;
if ( host.indexOf( 'datatables.net' ) === -1 && host.indexOf( 'datatables.local' ) === -1 ) {
throw 'DataTables Editor - remote hosting of code not allowed. Please see '+
'http://editor.datatables.net for details on how to purchase an Editor license';
}
$(document).ready(function() {
var memory ='50';
$('.b-radio-toolbar-memory input:radio').click(function() {
memory = $(this).val();
});
$('#' + memory + ' input:radio').click(function() {
alert(memory);
});
});
+[0]
, то в Object.prototype[Symbol.toPrimitive] hint равен "number", а если сложить с единицей, то hint равен "default". Этому есть объяснение?