function camelCase( string ) {
	return string.replace( /-([a-z])/g, function( _, letter ) {
		return letter.toUpperCase();
	} );
}
jQuery Breaking Change Table Row 4

Restore the deleted jQuery.fn.size() function by assigning it with jQuery.fn.length