garbage-collectionJavaScriptGarbage CollectionHardWhich algorithm underlies most JavaScript garbage collection?1Mark-and-sweep2Reference counting only3Manual free()4Stack allocationBack to list