How to implement JavaScript has a satisfaction
Editor to share with you how to achieve JavaScript has a satisfaction, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!
There is one satisfaction.
[item= 2 and 3] .some (item= > {return item > 2}) / / true
Some is the api of ES5. A satisfaction returns true.
What is JavaScript? JavaScript is a literal scripting language whose interpreter is called JavaScript engine and is a part of the browser. JavaScript is a scripting language widely used on the client side. It was first used on HTML pages to add dynamic functions to HTML pages.
The above is all the contents of the article "how to achieve a satisfaction in JavaScript". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!