Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.3.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.2/backbone-min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
var sub1 = function(a, b) { return b - a; };
sub10 = _.partial(sub1, 10);
$(".div1").text(sub10(30));
});
</script>
</head>
<body>
<hr>
<div>Result:</div>
<hr>
<div class="div1"></div>
</body>
</html>
The most helpful BACKBONE.JS solutions
How to get country from client ip address using backbonejs ?BACKBONE.JS Click to see more ... 945 84