js handles common operations such as insertion, modification, deletion of json format, and comparison of strings
demo 1:
Insertion and deletion of json format
Run results:
Demo 3:
Insertion, modification, deletion of json elements, and conversion format to string
Run results:
Demo4:
Compare the different elements of the two strings and Print it out. The two strings have an inclusion relationship, that is, one string must be a substring of the other string. For example, {1,2,4} is a substring of {1,2,3,4,5}
Running results:
Demo5:
运行结果: