Nitin Agrawal
Contact -
  • Home
  • Interviews
    • Secret Receipe
    • InterviewFacts
    • Resume Thoughts
    • Daily Coding Problems
    • BigShyft
    • Companies
    • Interviews Theory
  • Programming Languages
    • Java Script >
      • Tutorials
      • Code Snippets
    • Reactive Programming >
      • Code Snippets
    • R
    • DataStructures >
      • LeetCode Problems >
        • Problem10
        • Problem300
      • AnagramsSet
    • Core Java >
      • Codility
      • Program Arguments OR VM arguments & Environment variables
      • Java Releases >
        • Java8 >
          • Performance
          • NasHorn
          • WordCount
          • Thoughts
        • Java9 >
          • ServiceLoaders
          • Lambdas
          • List Of Objects
          • Code Snippets
        • Java14 >
          • Teeing
          • Pattern
          • Semaphores
        • Java17 >
          • Switches
          • FunctionalStreams
          • Predicate
          • Consumer_Supplier
          • Collectors in Java
        • Java21 >
          • Un-named Class
          • Virtual Threads
          • Structured Concurrency
      • Threading >
        • ThreadsOrder
        • ProducerConsumer
        • Finalizer
        • RaceCondition
        • Executors
        • Future Or CompletableFuture
      • Important Points
      • Immutability
      • Dictionary
      • Sample Code Part 1 >
        • PatternLength
        • Serialization >
          • Kryo2
          • JAXB/XSD
          • XStream
        • MongoDB
        • Strings >
          • Reverse the String
          • Reverse the String in n/2 complexity
          • StringEditor
          • Reversing String
          • String Puzzle
          • Knuth Morris Pratt
          • Unique characters
          • Top N most occurring characters
          • Longest Common Subsequence
          • Longest Common Substring
        • New methods in Collections
        • MethodReferences
        • Complex Objects Comparator >
          • Performance
        • NIO >
          • NIO 2nd Sample
        • Date Converter
        • Minimum cost path
        • Find File
      • URL Validator
    • Julia
    • Python >
      • Decorators
      • String Formatting
      • Generators_Threads
      • JustLikeThat
    • Go >
      • Tutorial
      • CodeSnippet
      • Go Routine_Channel
      • Suggestions
    • Methodologies & Design Patterns >
      • Design Principles
      • Design Patterns >
        • TemplatePattern
        • Adapter Design Pattern
        • Proxy
        • Lazy Initialization
        • CombinatorPattern
        • Singleton >
          • Singletons
        • Strategy
  • Frameworks
    • Apache Velocity
    • React Library >
      • Tutorial
    • Spring >
      • Spring Boot >
        • CustomProperties
        • ExceptionHandling
        • Custom Beans
        • Issues
      • Quick View
    • Rest WebServices >
      • Interviews
      • Swagger
    • Cloudera BigData >
      • Ques_Ans
      • Hive
      • Apache Spark >
        • ApacheSpark Installation
        • SparkCode
        • Sample1
        • DataFrames
        • RDDs
        • SparkStreaming
        • SparkFiles
    • Integration >
      • Apache Camel
    • Testing Frameworks >
      • JUnit >
        • JUnit Runners
      • EasyMock
      • Mockito >
        • Page 2
      • TestNG
    • Blockchain >
      • Ethereum Smart Contract
      • Blockchain Java Example
    • Microservices >
      • Messaging Formats
      • Design Patterns
    • AWS >
      • Honeycode
    • Dockers >
      • GitBash
      • Issues
      • Kubernetes
  • Databases
    • MySql
    • Oracle >
      • Interview1
      • SQL Queries
    • Elastic Search
  • Random issues
    • TOAD issue
    • Architect's suggestions
  • Your Views

Fascinating world of Java Script

There are many books, tutorials, videos, blogs, etc available online freely. There is abundance of help available out there for any one working on this language.
This time I got the chance to revisit Java Script & I just thought to start putting my views here.
We have many programming languages to use freely & explore, but what attracts a person towards any language or tech majorly - Its monetary benefit to use that.
In general all languages have their own Good & Bad, but popularity of any language & tech is dependent on the marketing strategy used. Many big companies pump money in the market behind any tech or language causing a great hype around that, eventually causing its popularity among tech people. Eventually, many start using such tech & languages blindly because of huge money involved, but not every tech or language fits every requirement & thats the reason that many projects fail also.
Java Script is in the market for past many years & many frameworks are created around this one language to make money & many people start using these blindly to show themselves updated. AngularJS came, then ReactJS started, now Vue is gaining the momentum.
Few important reasons to use any language are -
1) The features & APIs provided by that language.
2) How easy is the setup for that language.
3) Is there any IDE providing support for that language
All these facilities make the development in any language easier.

Similarly to start using JS, one will look for some IDE & some way to test the initial sample code. But when you are studying any language then you may not need complete setup & IDE, as maximum time you will be following some tutorial or book to write the code. So for this, I was also searching easy way to check the result of JS code without using any HTML file & in stackoverflow I got the solution & I am putting that below. Here you can put your JS code & the console output in browser's console directly & I found it bit easy to brush-up & try the JS constructs.
testing.html
File Size: 0 kb
File Type: html
Download File

When you open above file in browser, you will get the textbox where you need to put your JS code & click the button 'Do It' to get the result like shown below -
Picture
You can try all the snippets, as shown above. If you are expecting for better support along with the support for JS frameworks then check - https://jsfiddle.net/
Powered by Create your own unique website with customizable templates.