We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined
null
The following test case shows the use of passing undefined and null into the compiler.
it('should handle undefined and null', function() { shouldCompileTo('{{awesome undefined null}}', { awesome: function(_undefined, _null, options) { return (_undefined === undefined) + ' ' + (_null === null) + ' ' + (typeof options); } }, 'true true object'); shouldCompileTo('{{undefined}}', { 'undefined': function() { return 'undefined!'; } }, 'undefined!'); shouldCompileTo('{{null}}', { 'null': function() { return 'null!'; } }, 'null!'); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following test case shows the use of passing
undefined
andnull
into the compiler.The text was updated successfully, but these errors were encountered: