Hey Guys..!! Found a cool debugging trick while working...So thought of sharing with you.. While debugging larger arrays in scripts, we need to open every collapsed object manually...which is quite annoying. So, to overcome this we can use 'console.table'. CONSOLE.TABLE display the data (in console) in a nice tabular form which is easy to read. Below are some features: 1. It can display tabular data for arrays and objects 2. You can restrict the rendering of column by adding a second parameter. For example: console.table(ceos, ['Column Name1','Column Name 2',....]); 3. Provides a better visualization of data with tables. - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18
58 followers study24x7 01 Jan 1970 05:30 AM study24x7 study24x7

Hey Guys..!! Found a cool debugging trick while working...So thought of sharing with you.. While debugging larger arrays in scripts, we need to open every collapsed object manually...which is quite annoying. So, to overcome this we can use 'console.table'. CONSOLE.TABLE display...

See more

Hey Guys..!!
Found a cool debugging trick while worki...
study24x7
Write a comment

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/live/makepost.php on line 893
Most Related Articles

    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/live/makepostRltdArtcl.php on line 8