JSFiddle - React, Tailwind, and code Playground

HTML

<html>
<head>
    <title>test page</title>
</head>
<body>
</body>
</html>

JavaScript

$(document).ready(function()
    {
        try
        {
            var position = $("<div/>").position();
            console.log(position);
        }
        catch (err)
        {
            console.log(err);
        }
    });