Skip to content
Advertisement

Tag: splice

Splice an ArrayList in Java similar to Node Js

In the Node Js code , we have the “stopTimeFrame()” method as below : So, In Node Js code, they are using ‘Splice()’ method. I don’t have much knowledge on Node Js . So I just googled what is the usage of splice() in Node Js. As per documentation (w.r.t the above code ), the splice() method adds new items

Advertisement