Which method in Immutable.js returns a new List with values appended to the end of the current List?

  • .append()
  • .concat()
  • .insert()
  • .push()
In Immutable.js, the .push() method is used to return a new List with values appended to the end of the current List. The other methods have different purposes; for example, .concat() is used to concatenate two Lists, and .insert() is used to insert values at specific indices. .append() is not a method in Immutable.js.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *