At the first blush, it may seem that online editors are pretty much the same, but you’ll discover that it’s not that way at all. Having a robust document management solution like DocHub, you can do far more than with traditional tools. What makes our editor so special is its ability not only to promptly Paste code in Functional Application but also to design documentation totally from scratch, just the way you need it!
In spite of its extensive editing features, DocHub has a very simple-to-use interface that offers all the features you want at hand. Thus, altering a Functional Application or a completely new document will take only a couple of moments.
Subscribe to a free trial and enjoy your best-ever document-related experience with DocHub!
hey guys hey going my name is DOM and today I what I talked about the apply method in JavaScript so the apply method is a method of the function object and basically it allows you to call a function but instead of passing in the arguments as a comma-separated list youre passing them in as an array instead and I also lets you specify the value of the this keywords lets just start this by showing with an example so lets define a new function up here and call this function sum this function will just return the result of the two arguments a and then B okay inside the body will just say return a plus B so pretty straightforward simple function alright we can actually call this function using the apply method passing in a and B as an array instead so down here lets call the apply method on these sum function so well say sum and then dot apply all right this method takes in two arguments the first one being the value of the this keyword well look at this later on all right so Im gonna