$.each convert numbers to objects - Javascript jQuery Method and Property

Javascript examples for jQuery Method and Property:each

Description

$.each convert numbers to objects

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
      <script type="text/javascript" src="https://code.jquery.com/jquery-compat-git.js"></script> 
      <script type="text/javascript">
    $(window).on('load', function() {
$.each([3], function (key, value) {
    console.log(value=== 3);
});// w  w  w. j  a v a 2s . com
    });

      </script> 
   </head> 
   <body>  
   </body>
</html>

Related Tutorials