Sunday, March 4, 2018

Ruby Class Manipulation & Reflection



Ruby Class Functions Verify the class of a Ruby object obj.instance_of? String # Check if "obj" is a String obj.class == String # Same as above obj.is_a? Numeric # Check if "obj" is a Numeric or its sub-type obj.

No comments:

JavaScript Event Loop Explained

Now for the long answer, let me try through 2 sample code snippets. Here we have the main function which has 2 console.log commands loggin...